docker-compose.yml
· 608 B · YAML
Eredeti
services:
phampy:
image: ghcr.io/yitsushi/phanpy-docker:latest
container_name: phanpy
hostname: phanpy
ports:
- 3000:3000
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 30s
timeout: 10s
retries: 3
environment:
- NODE_ENV=production
#- MASTODON_INSTANCE_URL=https://mastodon.example.com
#- MASTODON_ACCESS_TOKEN=your_access_token_here
volumes:
- ./data:/app/data
#networks:
# - npm-internal
restart: unless-stopped
#networks:
# npm-internal:
# name: npm-internal
# external: true
| 1 | services: |
| 2 | phampy: |
| 3 | image: ghcr.io/yitsushi/phanpy-docker:latest |
| 4 | container_name: phanpy |
| 5 | hostname: phanpy |
| 6 | ports: |
| 7 | - 3000:3000 |
| 8 | healthcheck: |
| 9 | test: ["CMD", "curl", "-f", "http://localhost"] |
| 10 | interval: 30s |
| 11 | timeout: 10s |
| 12 | retries: 3 |
| 13 | environment: |
| 14 | - NODE_ENV=production |
| 15 | #- MASTODON_INSTANCE_URL=https://mastodon.example.com |
| 16 | #- MASTODON_ACCESS_TOKEN=your_access_token_here |
| 17 | volumes: |
| 18 | - ./data:/app/data |
| 19 | #networks: |
| 20 | # - npm-internal |
| 21 | restart: unless-stopped |
| 22 | |
| 23 | #networks: |
| 24 | # npm-internal: |
| 25 | # name: npm-internal |
| 26 | # external: true |
| 27 |