---
version: "3.8"
services:
abra_installer:
image: "nginx:stable"
configs:
- source: abra_conf
target: /etc/nginx/conf.d/abra.conf
- source: abra_installer
target: /var/www/abra-installer/abra-installer
volumes:
- "public:/var/www/abra-installer"
networks:
- proxy
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.services.abra-installer.loadbalancer.server.port=80"
- "traefik.http.routers.abra-installer.rule=Host(`install.abra.autonomic.zone`)"
- "traefik.http.routers.abra-installer.entrypoints=web-secure"
- "traefik.http.routers.abra-installer.tls.certresolver=production"
swarm_installer:
- source: swarm_conf
target: /etc/nginx/conf.d/swarm.conf
- source: swarm_installer
target: /var/www/swarm-installer/swarm-installer
- "public:/var/www/swarm-installer"
- "traefik.http.services.swarm-installer.loadbalancer.server.port=80"
- "traefik.http.routers.swarm-installer.rule=Host(`install.swarm.autonomic.zone`)"
- "traefik.http.routers.swarm-installer.entrypoints=web-secure"
- "traefik.http.routers.swarm-installer.tls.certresolver=production"
name: abra_installer_v1
file: abra/abra-installer
abra_conf:
name: abra_conf_v1
file: abra/abra.conf
name: swarm_installer_v1
file: swarm/swarm-installer
swarm_conf:
name: swarm_conf_v1
file: swarm/swarm.conf
proxy:
external: true
public: