switch sslproxy and fluentd to global service so each host runs one container.

build own image for letsencrypt, and tweek update job runtime.
This commit is contained in:
2017-12-23 22:03:51 -05:00
parent 785db4ec18
commit d6806a673e
11 changed files with 65 additions and 103 deletions

View File

@@ -9,7 +9,7 @@ version: '3'
services:
updates:
image: "blacklabelops/letsencrypt"
image: "dkregistry.xai-corp.net:5000/letsencrypt:latest"
ports:
- 83:80
# - 443:443
@@ -20,7 +20,7 @@ services:
LETSENCRYPT_HTTPS_ENABLED: "false"
LETSENCRYPT_TESTCERT: "false"
LETSENCRYPT_DEBUG: "true"
LETSENCRYPT_JOB_TIME: "0 0 1 */2 * *"
LETSENCRYPT_JOB_TIME: "0 1 */12 * * 0"
LETSENCRYPT_DOMAIN1: xai-corp.net
LETSENCRYPT_DOMAIN2: git.xai-corp.net
LETSENCRYPT_DOMAIN3: xaibox.xai-corp.net
@@ -43,9 +43,9 @@ services:
cpus: '0.5'
memory: 16M
logging:
driver: fluentd
options:
fluentd-address: "logs.xai-corp.net:24224"
fluentd-async-connect: 'true'
tag: letsencrypt-update
# logging:
# driver: fluentd
# options:
# fluentd-address: "logs.xai-corp.net:24224"
# fluentd-async-connect: 'true'
# tag: letsencrypt-update