docker-compose.yml
· 480 B · YAML
原始文件
services:
phampy:
image: ghcr.io/yitsushi/phanpy-docker:latest
container_name: phanpy
hostname: phanpy
ports:
- 3000:3000
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 | environment: |
| 9 | - NODE_ENV=production |
| 10 | #- MASTODON_INSTANCE_URL=https://mastodon.example.com |
| 11 | #- MASTODON_ACCESS_TOKEN=your_access_token_here |
| 12 | volumes: |
| 13 | - ./data:/app/data |
| 14 | #networks: |
| 15 | # - npm-internal |
| 16 | restart: unless-stopped |
| 17 | |
| 18 | #networks: |
| 19 | # npm-internal: |
| 20 | # name: npm-internal |
| 21 | external: true |
| 22 |