1
0
Fork 0

Update docker-compose.yml

This commit is contained in:
Shleeble 2019-04-24 22:08:45 +08:00 committed by GitHub
parent e24dac14d9
commit a5125b9239
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -16,11 +16,14 @@ services:
# Comment to use dockerhub image # Comment to use dockerhub image
build: . build: .
image: pixelfed image: pixelfed
# If you have a traefik running, uncomment this to expose Pixelfed ## If you have a traefik running, uncomment this to expose Pixelfed
# labels: # labels:
# - traefik.enable=true # - traefik.enable=true
# - traefik.frontend.rule=Host:your.url # - traefik.frontend.rule=Host:your.url
# - traefik.port=80 # - traefik.port=80
## If you have a standard reverse proxy, uncommit this to expose Pixelfed
# ports:
# - "127.0.0.1:8080:80"
env_file: env_file:
- ./.env - ./.env
volumes: volumes:
@ -40,6 +43,7 @@ services:
- "app-storage:/var/www/storage" - "app-storage:/var/www/storage"
- "app-bootstrap:/var/www/bootstrap" - "app-bootstrap:/var/www/bootstrap"
networks: networks:
- external # Required for ActivityPub
- internal - internal
command: gosu www-data php artisan horizon command: gosu www-data php artisan horizon