|
|
@ -16,6 +16,7 @@ services:
|
|
|
|
# Comment to use dockerhub image
|
|
|
|
# Comment to use dockerhub image
|
|
|
|
build: .
|
|
|
|
build: .
|
|
|
|
image: pixelfed
|
|
|
|
image: pixelfed
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
## 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
|
|
|
@ -37,6 +38,7 @@ services:
|
|
|
|
# Comment to use dockerhub image
|
|
|
|
# Comment to use dockerhub image
|
|
|
|
build: .
|
|
|
|
build: .
|
|
|
|
image: pixelfed
|
|
|
|
image: pixelfed
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
env_file:
|
|
|
|
env_file:
|
|
|
|
- ./.env
|
|
|
|
- ./.env
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
@ -49,6 +51,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
db:
|
|
|
|
db:
|
|
|
|
image: mysql:8.0
|
|
|
|
image: mysql:8.0
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
- internal
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
@ -61,6 +64,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
redis:
|
|
|
|
image: redis:5-alpine
|
|
|
|
image: redis:5-alpine
|
|
|
|
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- "redis-data:/data"
|
|
|
|
- "redis-data:/data"
|
|
|
|
networks:
|
|
|
|
networks:
|
|
|
|