Simplify traefik config
This commit is contained in:
parent
ceeaef8e2e
commit
fe2577c8f2
2 changed files with 3 additions and 8 deletions
|
@ -39,8 +39,6 @@ services:
|
||||||
image: chocobozzz/peertube:v1.2.1-stretch
|
image: chocobozzz/peertube:v1.2.1-stretch
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
labels:
|
|
||||||
traefik.enable: "false"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/data:/data
|
- ./volumes/data:/data
|
||||||
- /mnt/external:/data-external
|
- /mnt/external:/data-external
|
||||||
|
@ -58,8 +56,6 @@ services:
|
||||||
image: postgres:10-alpine
|
image: postgres:10-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/db:/var/lib/postgresql/data
|
- ./volumes/db:/var/lib/postgresql/data
|
||||||
labels:
|
|
||||||
traefik.enable: "false"
|
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=${POSTGRES_USER}
|
- POSTGRES_USER=${POSTGRES_USER}
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
|
@ -69,14 +65,10 @@ services:
|
||||||
image: redis:5-alpine
|
image: redis:5-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/redis:/data
|
- ./volumes/redis:/data
|
||||||
labels:
|
|
||||||
traefik.enable: "false"
|
|
||||||
restart: "always"
|
restart: "always"
|
||||||
|
|
||||||
postfix:
|
postfix:
|
||||||
image: mwader/postfix-relay
|
image: mwader/postfix-relay
|
||||||
environment:
|
environment:
|
||||||
- POSTFIX_myhostname=${PEERTUBE_WEBSERVER_HOSTNAME}
|
- POSTFIX_myhostname=${PEERTUBE_WEBSERVER_HOSTNAME}
|
||||||
labels:
|
|
||||||
traefik.enable: "false"
|
|
||||||
restart: "always"
|
restart: "always"
|
||||||
|
|
|
@ -73,3 +73,6 @@ entryPoint = "https"
|
||||||
# Required
|
# Required
|
||||||
#
|
#
|
||||||
entryPoint = "http"
|
entryPoint = "http"
|
||||||
|
|
||||||
|
[docker]
|
||||||
|
exposedByDefault = false
|
||||||
|
|
Loading…
Reference in a new issue