-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.coolify.yml
More file actions
59 lines (57 loc) · 1.69 KB
/
Copy pathdocker-compose.coolify.yml
File metadata and controls
59 lines (57 loc) · 1.69 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Coolify Docker Compose pack for transcriptasm.
# Compose is the source of truth: https://coolify.io/docs/knowledge-base/docker/compose
#
# Assign a domain in Coolify with container port 8080, e.g. https://example.com:8080
# Do not publish host ports; Coolify proxy routes into the stack network.
name: transcriptasm
services:
transcriptasm:
image: ${IMAGE:-ghcr.io/quad4-software/transcriptasm:${VERSION:-0.2.1}}
build:
context: .
dockerfile: Dockerfile
args:
VERSION: "${VERSION:-0.2.1}"
REVISION: ${SOURCE_COMMIT:-unknown}
CREATED: ${CREATED:-unknown}
restart: unless-stopped
init: true
expose:
- "8080"
environment:
# Coolify magic URL for proxy routing to container port 8080
- SERVICE_URL_TRANSCRIPTASM_8080
- TRANSCRIPTASM_ADDR=${TRANSCRIPTASM_ADDR:-:8080}
- TRANSCRIPTASM_WEB=${TRANSCRIPTASM_WEB:-/app/web}
- TRANSCRIPTASM_READ_TIMEOUT=${TRANSCRIPTASM_READ_TIMEOUT:-15s}
- TRANSCRIPTASM_WRITE_TIMEOUT=${TRANSCRIPTASM_WRITE_TIMEOUT:-60s}
read_only: true
tmpfs:
- /tmp:size=64m,mode=1777,uid=65532,gid=65532
user: "65532:65532"
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
pids_limit: 256
ulimits:
nproc: 256
nofile:
soft: 1024
hard: 2048
deploy:
resources:
limits:
cpus: "1.0"
memory: 512M
pids: 256
reservations:
cpus: "0.10"
memory: 128M
stop_grace_period: 15s
healthcheck:
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:8080/api/health"]
interval: 30s
timeout: 3s
retries: 3
start_period: 10s