add service scripts
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# DOCKER_HOST=192.168.2.41:2376 docker-compose up -d
|
||||
# DOCKER_HOST=dkhost:2376 docker stack deploy -c docker-compose.yml gitea
|
||||
|
||||
version: '3'
|
||||
version: '3.4'
|
||||
services:
|
||||
|
||||
app:
|
||||
@@ -20,6 +20,10 @@ services:
|
||||
condition: any
|
||||
delay: "5s"
|
||||
max_attempts: 3
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 2s
|
||||
order: start-first
|
||||
labels:
|
||||
net.xai-corp.sslproxy.description: proxy ssl calls to non ssl containers
|
||||
resources:
|
||||
@@ -33,3 +37,14 @@ services:
|
||||
fluentd-address: "logs.xai-corp.net:24224"
|
||||
fluentd-async-connect: 'true'
|
||||
tag: gitea
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: ingress
|
||||
ingress:
|
||||
external:
|
||||
name: ingress
|
||||
prod:
|
||||
external:
|
||||
name: prod
|
||||
|
||||
Reference in New Issue
Block a user