-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (52 loc) · 1.34 KB
/
Copy pathdocker-compose.yml
File metadata and controls
55 lines (52 loc) · 1.34 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
# Local / generic Compose stack for transcriptasm.
# Build uses the pinned multi-stage Dockerfile (Alpine 3.24 + Go digests).
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: "${REVISION:-local}"
CREATED: "${CREATED:-unknown}"
container_name: transcriptasm
restart: unless-stopped
init: true
ports:
- "${HOST_PORT:-127.0.0.1:8080}:8080"
environment:
TRANSCRIPTASM_ADDR: ${TRANSCRIPTASM_ADDR:-:8080}
TRANSCRIPTASM_WEB: ${TRANSCRIPTASM_WEB:-/app/web}
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
mem_limit: 512m
mem_reservation: 128m
cpus: 1.0
cpu_shares: 512
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: 5s
networks:
- transcriptasm
networks:
transcriptasm:
driver: bridge
internal: false