X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdocker%2Fproduction%2Fdocker-compose.yml;h=e937c8b9c13535bcdf345f5b46867cfbb391448b;hb=745437e3ab402d5b8f85de6e9c09c3b6092e5904;hp=9f6c47eca388178d53868b94b8c994287b6c6c7c;hpb=e2882b2ccba99f9cf94878f597b24c5185560a86;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/docker/production/docker-compose.yml b/support/docker/production/docker-compose.yml index 9f6c47eca..e937c8b9c 100644 --- a/support/docker/production/docker-compose.yml +++ b/support/docker/production/docker-compose.yml @@ -5,7 +5,10 @@ services: reverse-proxy: image: traefik:v1.7 network_mode: "host" - command: --docker # Tells Træfik to listen to docker + command: + - "--docker" # Tells Træfik to listen to docker + - "--acme.email=${TRAEFIK_ACME_EMAIL}" # Let's Encrypt ACME email + - "--acme.domains=${TRAEFIK_ACME_DOMAINS}" # Let's Encrypt ACME domain list ports: - "80:80" # The HTTP port - "443:443" # The HTTPS port @@ -23,8 +26,8 @@ services: # If you don't want to use the official image and build one from sources # build: # context: . - # dockerfile: ./support/docker/production/Dockerfile.stretch - image: chocobozzz/peertube:production-stretch + # dockerfile: ./support/docker/production/Dockerfile.buster + image: chocobozzz/peertube:production-buster env_file: - .env # Traefik labels are suggested as an example for people using Traefik, @@ -67,6 +70,8 @@ services: image: mwader/postfix-relay env_file: - .env + volumes: + - ./docker-volume/opendkim/keys:/etc/opendkim/keys labels: traefik.enable: "false" restart: "always"