setting up graylog docker swarm services

This commit is contained in:
2017-06-14 14:22:05 -04:00
parent a05d635641
commit aa4f5952d1
18 changed files with 402 additions and 44 deletions

View File

@@ -1,10 +1,24 @@
version: '2'
---
# DOCKER_HOST=192.168.2.41:2376 docker-compose up -d
# DOCKER_HOST=dkhost03:2376 docker stack deploy -c docker-compose.yml sslproxy
version: '3'
services:
app:
restart: always
image: "gitea/gitea:latest"
volumes:
- /var/lib/gitea:/data
ports:
- "10022:22"
- "10080:3000"
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: any
delay: "5s"
max_attempts: 10
labels:
net.xai-corp.sslproxy.description: proxy ssl calls to non ssl containers