read ssh config from file
deploy through docker stack
This commit is contained in:
parent
be32f23c79
commit
94f104bece
3 changed files with 34 additions and 4 deletions
23
docker-stack.yml.template
Normal file
23
docker-stack.yml.template
Normal file
|
@ -0,0 +1,23 @@
|
|||
# vi: ft=yaml
|
||||
version: '3'
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
|
||||
services:
|
||||
static:
|
||||
image: git.pim.kunis.nl/pim/concourse-test:TAG
|
||||
networks:
|
||||
- traefik
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.public == true"
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.static.entrypoints=websecure
|
||||
- traefik.http.services.static.loadbalancer.server.port=80
|
||||
- traefik.http.routers.static.rule=Host(`pim.kunis.nl`)
|
||||
- traefik.http.routers.static.tls=true
|
||||
- traefik.http.routers.static.tls.certresolver=letsencrypt
|
Reference in a new issue