41 lines
958 B
YAML
41 lines
958 B
YAML
|
---
|
||
|
version: "3.8"
|
||
|
|
||
|
services:
|
||
|
nginx:
|
||
|
image: "nginx:stable"
|
||
|
configs:
|
||
|
- source: abra_conf
|
||
|
target: /etc/nginx/conf.d/abra.conf
|
||
|
- source: abra_installer
|
||
|
target: /var/www/abra-installer/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.well-known-uris.loadbalancer.server.port=80"
|
||
|
- "traefik.http.routers.gitea.rule=Host(`install.abra.autonomic.zone`)"
|
||
|
- "traefik.http.routers.well-known-uris.entrypoints=web-secure"
|
||
|
- "traefik.http.routers.well-known-uris.tls.certresolver=production"
|
||
|
|
||
|
configs:
|
||
|
abra_installer:
|
||
|
name: abra_installer_v1
|
||
|
file: abra/installer
|
||
|
abra_conf:
|
||
|
name: abra_conf_v1
|
||
|
file: abra/abra.conf
|
||
|
|
||
|
networks:
|
||
|
proxy:
|
||
|
external: true
|
||
|
|
||
|
volumes:
|
||
|
public:
|