mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 07:45:22 +00:00
Update docker-compose.yml
This commit is contained in:
parent
dc6dccec15
commit
04077c2ba1
1 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ services:
|
||||||
# Comment to use dockerhub image
|
# Comment to use dockerhub image
|
||||||
build: .
|
build: .
|
||||||
image: pixelfed
|
image: pixelfed
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
## 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
|
||||||
|
@ -38,7 +38,7 @@ services:
|
||||||
# Comment to use dockerhub image
|
# Comment to use dockerhub image
|
||||||
build: .
|
build: .
|
||||||
image: pixelfed
|
image: pixelfed
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- ./.env
|
- ./.env
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -51,7 +51,7 @@ services:
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
environment:
|
environment:
|
||||||
|
@ -64,7 +64,7 @@ services:
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:5-alpine
|
image: redis:5-alpine
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- "redis-data:/data"
|
- "redis-data:/data"
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in a new issue