update sslproxy deployment to include health check and Jenkinsfile that builds docker image

fixed metrics.xai-corp.net host file
This commit is contained in:
2018-10-29 22:17:06 -04:00
parent 724aa33e21
commit 774a4bb267
2 changed files with 7 additions and 7 deletions

View File

@@ -6,4 +6,4 @@ docker login -u richard -p $DKREGISTRY_PASS $DKREGISTRY
docker stack deploy --with-registry-auth --prune -c docker-compose-prod.yml sslproxy docker stack deploy --with-registry-auth --prune -c docker-compose-prod.yml sslproxy
docker service update sslproxy docker service update -q sslproxy_app

View File

@@ -19,12 +19,12 @@ services:
- "443:443" - "443:443"
- "80:80" # required for letsencrypt - "80:80" # required for letsencrypt
# healthcheck: healthcheck:
# test: ["CMD", "wget", "--spider", "--header", "'Host: git.xai-corp.net'", "https://localhost/"] test: ["CMD", "wget", "--spider", "--header", "'Host: dkui.xai-corp.net'", "https://localhost/"]
# interval: 1m30s interval: 1m30s
# timeout: 10s timeout: 5s
# retries: 3 retries: 3
# start_period: 3m start_period: 10s
logging: logging:
driver: fluentd driver: fluentd