mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 17:53:16 +00:00
Update docker-compose.yml
This commit is contained in:
parent
b43588d320
commit
d2e977741b
1 changed files with 14 additions and 12 deletions
|
@ -13,8 +13,8 @@ version: '3'
|
||||||
services:
|
services:
|
||||||
|
|
||||||
app:
|
app:
|
||||||
# Uncomment to build a local copy of the 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:
|
||||||
|
@ -30,16 +30,18 @@ services:
|
||||||
- external
|
- external
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
# Uncomment if you set HORIZON_EMBED to false and wish to run a local worker
|
worker:
|
||||||
# worker:
|
# Comment to use dockerhub image
|
||||||
# image: pixelfed
|
build: .
|
||||||
# env_file:
|
image: pixelfed
|
||||||
# - ./.env
|
env_file:
|
||||||
# volumes:
|
- ./.env
|
||||||
# - "app-storage:/var/www/storage"
|
volumes:
|
||||||
# networks:
|
- "app-storage:/var/www/storage"
|
||||||
# - internal
|
- "app-bootstrap:/var/www/bootstrap"
|
||||||
# command: gosu www-data php artisan horizon
|
networks:
|
||||||
|
- internal
|
||||||
|
command: gosu www-data php artisan horizon
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mysql:5.7
|
image: mysql:5.7
|
||||||
|
|
Loading…
Reference in a new issue