-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (29 loc) · 920 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (29 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
x-deploy:
host: deploy.flowcanon.com
user: deploy
dir: /opt/flowcanon/deploy
services:
docs:
image: ghcr.io/flowcanon/flow-deploy-docs:${DEPLOY_TAG:-latest}
build: .
env_file: ./.env
networks:
- traefik
healthcheck:
test: ["CMD-SHELL", "curl --fail http://localhost || exit 1"]
interval: 10s
timeout: 5s
retries: 5
labels:
- deploy.role=app
- traefik.docker.network=traefik
- traefik.enable=true
- traefik.http.routers.flow-deploy-docs.entrypoints=web,websecure
- traefik.http.routers.flow-deploy-docs.middlewares=compression,securityheaders
- traefik.http.routers.flow-deploy-docs.rule=Host(`${DOMAIN}`)
- traefik.http.routers.flow-deploy-docs.tls=${TLS_ENABLED:-false}
- traefik.http.services.flow-deploy-docs.loadbalancer.server.port=80
restart: unless-stopped
networks:
traefik:
external: true