This repository has been archived on 2020-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
installer-scripts/compose.yml

69 lines
1.8 KiB
YAML
Raw Normal View History

2020-09-22 11:41:52 +00:00
---
version: "3.8"
services:
2020-09-24 07:16:31 +00:00
abra_installer:
2020-09-22 11:41:52 +00:00
image: "nginx:stable"
configs:
- source: abra_conf
target: /etc/nginx/conf.d/abra.conf
- source: abra_installer
2020-09-24 07:14:00 +00:00
target: /var/www/abra-installer/abra-installer
2020-09-22 11:41:52 +00:00
volumes:
- "public:/var/www/abra-installer"
networks:
- proxy
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
2020-09-24 07:15:28 +00:00
- "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"
2020-09-22 11:41:52 +00:00
2020-09-24 07:16:31 +00:00
swarm_installer:
2020-09-24 07:14:00 +00:00
image: "nginx:stable"
configs:
- source: swarm_conf
target: /etc/nginx/conf.d/swarm.conf
- source: swarm_installer
target: /var/www/swarm-installer/swarm-installer
volumes:
- "public:/var/www/swarm-installer"
networks:
- proxy
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
2020-09-24 07:15:28 +00:00
- "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"
2020-09-24 07:14:00 +00:00
2020-09-22 11:41:52 +00:00
configs:
abra_installer:
name: abra_installer_v1
2020-09-24 07:14:00 +00:00
file: abra/abra-installer
2020-09-22 11:41:52 +00:00
abra_conf:
name: abra_conf_v1
file: abra/abra.conf
2020-09-24 07:14:00 +00:00
swarm_installer:
name: swarm_installer_v1
file: swarm/swarm-installer
swarm_conf:
name: swarm_conf_v1
file: swarm/swarm.conf
2020-09-22 11:41:52 +00:00
networks:
proxy:
external: true
volumes:
public: