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