2020-10-25 20:08:08 +00:00
|
|
|
---
|
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
abra_installer:
|
|
|
|
image: "nginx:stable"
|
|
|
|
configs:
|
|
|
|
- source: abra_conf
|
|
|
|
target: /etc/nginx/conf.d/abra.conf
|
|
|
|
- source: abra_installer
|
2021-04-01 20:33:19 +00:00
|
|
|
target: /var/www/abra-apps/installer
|
2020-10-25 20:08:08 +00:00
|
|
|
volumes:
|
2021-04-01 20:33:19 +00:00
|
|
|
- "public:/var/www/abra-apps"
|
2020-10-25 20:08:08 +00:00
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
deploy:
|
|
|
|
update_config:
|
|
|
|
failure_action: rollback
|
|
|
|
order: start-first
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
2021-04-01 20:33:19 +00:00
|
|
|
- "traefik.http.services.abra-apps.loadbalancer.server.port=80"
|
|
|
|
- "traefik.http.routers.abra-apps.rule=Host(`abra-apps.autonomic.zone`)"
|
|
|
|
- "traefik.http.routers.abra-apps.entrypoints=web-secure"
|
|
|
|
- "traefik.http.routers.abra-apps.tls.certresolver=production"
|
2020-10-25 20:08:08 +00:00
|
|
|
|
|
|
|
configs:
|
|
|
|
abra_installer:
|
|
|
|
file: installer
|
|
|
|
abra_conf:
|
|
|
|
file: nginx.conf
|
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
public:
|