add service scripts
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
# DOCKER_HOST=dkhost:2376 docker stack deploy --with-registry-auth -c docker-compose-prod.yml sslproxy
|
||||
# DOCKER_HOST=dkhost:2376 docker stack ps sslproxy
|
||||
|
||||
version: '3'
|
||||
version: '3.4'
|
||||
services:
|
||||
app:
|
||||
image: "dkregistry.xai-corp.net:5000/sslproxy:2.1"
|
||||
@@ -21,13 +21,13 @@ services:
|
||||
# syslog-address: "tcp+tls://logs6.papertrailapp.com:38577"
|
||||
# tag: "{{.Name}}/{{.ID}}"
|
||||
|
||||
# logging:
|
||||
# driver: fluentd# tag: sslproxy
|
||||
logging:
|
||||
driver: fluentd
|
||||
tag: sslproxy
|
||||
options:
|
||||
fluentd-address: "logs.xai-corp.net:24224"
|
||||
fluentd-async-connect: 'true'
|
||||
|
||||
|
||||
# options:
|
||||
# fluentd-address: "logs.xai-corp.net:24224"
|
||||
# fluentd-async-connect: 'true'
|
||||
# logging:
|
||||
# driver: syslog
|
||||
# options:
|
||||
@@ -39,11 +39,11 @@ services:
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: 6s
|
||||
max_attempts: 10
|
||||
# update_config:
|
||||
# parallelism: 2
|
||||
# delay: 2s
|
||||
# order: start-first
|
||||
max_attempts: 3
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 2s
|
||||
order: start-first
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.1'
|
||||
@@ -52,14 +52,14 @@ services:
|
||||
labels:
|
||||
net.xai-corp.sslproxy.description: proxy ssl calls to non ssl containers
|
||||
|
||||
networks:
|
||||
- ingress
|
||||
# networks:
|
||||
# - ingress
|
||||
# - prod
|
||||
|
||||
networks:
|
||||
ingress:
|
||||
external:
|
||||
name: ingress
|
||||
prod:
|
||||
external:
|
||||
name: prod
|
||||
#networks:
|
||||
# ingress:
|
||||
# external:
|
||||
# name: ingress
|
||||
# prod:
|
||||
# external:
|
||||
# name: prod
|
||||
|
||||
Reference in New Issue
Block a user