1
0
Fork 0
forked from mirror/pixelfed

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

View file

@ -16,11 +16,14 @@ services:
# Comment to use dockerhub image
build: .
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:
# - traefik.enable=true
# - traefik.frontend.rule=Host:your.url
# - 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
volumes:
@ -40,6 +43,7 @@ services:
- "app-storage:/var/www/storage"
- "app-bootstrap:/var/www/bootstrap"
networks:
- external # Required for ActivityPub
- internal
command: gosu www-data php artisan horizon