forked from mirror/pixelfed
Merge pull request #1313 from Shleeble/patch-1
Update docker-compose.yml - Adding restarts
This commit is contained in:
commit
3de3864443
|
@ -16,6 +16,7 @@ services:
|
|||
# Comment to use dockerhub image
|
||||
build: .
|
||||
image: pixelfed
|
||||
restart: unless-stopped
|
||||
## 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: unless-stopped
|
||||
env_file:
|
||||
- ./.env
|
||||
volumes:
|
||||
|
@ -49,6 +51,7 @@ services:
|
|||
|
||||
db:
|
||||
image: mysql:8.0
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- internal
|
||||
environment:
|
||||
|
@ -61,6 +64,7 @@ services:
|
|||
|
||||
redis:
|
||||
image: redis:5-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- "redis-data:/data"
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue