|
|
|
@ -16,7 +16,7 @@ services:
|
|
|
|
|
# Comment to use dockerhub image
|
|
|
|
|
build: .
|
|
|
|
|
image: pixelfed
|
|
|
|
|
restart: always
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
## If you have a traefik running, uncomment this to expose Pixelfed
|
|
|
|
|
# labels:
|
|
|
|
|
# - traefik.enable=true
|
|
|
|
@ -38,7 +38,7 @@ services:
|
|
|
|
|
# Comment to use dockerhub image
|
|
|
|
|
build: .
|
|
|
|
|
image: pixelfed
|
|
|
|
|
restart: always
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
env_file:
|
|
|
|
|
- ./.env
|
|
|
|
|
volumes:
|
|
|
|
@ -51,7 +51,7 @@ services:
|
|
|
|
|
|
|
|
|
|
db:
|
|
|
|
|
image: mysql:8.0
|
|
|
|
|
restart: always
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
networks:
|
|
|
|
|
- internal
|
|
|
|
|
environment:
|
|
|
|
@ -64,7 +64,7 @@ services:
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
|
image: redis:5-alpine
|
|
|
|
|
restart: always
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
volumes:
|
|
|
|
|
- "redis-data:/data"
|
|
|
|
|
networks:
|
|
|
|
|