mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-23 07:20:01 +00:00
Update docker-compose.yml
This commit is contained in:
parent
e24dac14d9
commit
a5125b9239
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue