This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
abra/deploy/apps.coopcloud.tech/compose.yml

42 lines
1.1 KiB
YAML
Raw Normal View History

2020-10-25 20:08:08 +00:00
---
version: "3.8"
services:
2021-04-02 13:44:24 +00:00
app:
2020-10-25 20:08:08 +00:00
image: "nginx:stable"
configs:
- source: abra_conf
target: /etc/nginx/conf.d/abra.conf
2021-04-02 13:44:24 +00:00
- source: abra_apps_json
2021-04-18 15:42:32 +00:00
target: /var/www/abra-apps/apps.json
2020-10-25 20:08:08 +00:00
volumes:
- "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"
- "traefik.http.services.abra-apps.loadbalancer.server.port=80"
- "traefik.http.routers.abra-apps.rule=Host(`apps.coopcloud.tech`, `abra-apps.cloud.autonomic.zone`)"
- "traefik.http.routers.abra-apps.entrypoints=web-secure"
- "traefik.http.routers.abra-apps.tls.certresolver=production"
- "traefik.http.routers.abra-apps.middlewares=abra-apps-redirect"
- "traefik.http.middlewares.abra-apps-redirect.headers.SSLForceHost=true"
- "traefik.http.middlewares.abra-apps-redirect.headers.SSLHost=apps.coopcloud.tech"
2020-10-25 20:08:08 +00:00
configs:
2021-04-02 13:44:24 +00:00
abra_apps_json:
2021-04-18 15:43:37 +00:00
file: apps.json
2020-10-25 20:08:08 +00:00
abra_conf:
file: nginx.conf
networks:
proxy:
external: true
volumes:
public: