1
0
mirror of https://yerbamate.ml/nutomic/peertube.social synced 2024-11-25 02:58:20 -05:00

Simplify traefik config

This commit is contained in:
Felix Ableitner 2019-05-17 12:04:13 +02:00
parent ceeaef8e2e
commit fe2577c8f2
2 changed files with 3 additions and 8 deletions

View File

@ -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"

View File

@ -73,3 +73,6 @@ entryPoint = "https"
# Required # Required
# #
entryPoint = "http" entryPoint = "http"
[docker]
exposedByDefault = false