-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
37 lines (37 loc) · 953 Bytes
/
compose.yaml
File metadata and controls
37 lines (37 loc) · 953 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
32
33
34
35
36
37
# see https://compose-spec.io/
version: '3.7'
services:
frontend:
restart: no
pull_policy: always
image: ghcr.io/updraft0/controltower-fe:latest
ports:
- "8091:8080"
volumes:
- ./ui/nginx.conf:/etc/nginx/nginx.conf:ro
# - /path/to/ssl.key:/etc/ssl/your.fqdn.here.key:ro
# - /path/to/ssl.pem:/etc/ssl/your.fqdn.here.pem:ro
depends_on:
backend:
condition: service_healthy
backend:
restart: no
pull_policy: always
image: ghcr.io/updraft0/controltower:latest
env_file:
- ./secret.env
environment:
- CT_HTTP_UI_PORT=8091
- JAVA_OPTS=-Xmx2G -XX:+UseZGC
# - CT_HTTP_PROTO=https
# - CT_HTTP_HOST=your.fqdn.here
# - CT_HTTP_UI_PORT=8443
volumes:
- ./ctdb:/app/db
ports:
- "8092:8092"
healthcheck:
test: ["CMD", "curl", "http://localhost:8092/api/reference/version"]
interval: 10s
timeout: 5s
retries: 3