mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-21 22:11:26 +00:00
Update docker-compose.yml
This commit is contained in:
parent
e490e3b6cd
commit
dc6dccec15
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,7 @@ services:
|
|||
# Comment to use dockerhub image
|
||||
build: .
|
||||
image: pixelfed
|
||||
restart: always
|
||||
## If you have a traefik running, uncomment this to expose Pixelfed
|
||||
# labels:
|
||||
# - traefik.enable=true
|
||||
|
@ -37,6 +38,7 @@ services:
|
|||
# Comment to use dockerhub image
|
||||
build: .
|
||||
image: pixelfed
|
||||
restart: always
|
||||
env_file:
|
||||
- ./.env
|
||||
volumes:
|
||||
|
@ -49,6 +51,7 @@ services:
|
|||
|
||||
db:
|
||||
image: mysql:8.0
|
||||
restart: always
|
||||
networks:
|
||||
- internal
|
||||
environment:
|
||||
|
@ -61,6 +64,7 @@ services:
|
|||
|
||||
redis:
|
||||
image: redis:5-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- "redis-data:/data"
|
||||
networks:
|
||||
|
|
Loading…
Reference in a new issue