richiejp commited on
Commit
8e55e4e
·
verified ·
1 Parent(s): f8270e2

Remove docker-compose.yml (local-dev only)

Browse files
Files changed (1) hide show
  1. docker-compose.yml +0 -49
docker-compose.yml DELETED
@@ -1,49 +0,0 @@
1
- # Local-only stack: gradio + caddy (TLS terminator with self-signed cert).
2
- #
3
- # docker compose -f space/docker-compose.yml up -d
4
- #
5
- # Listens on :7864 (HTTPS, Caddy `tls internal`). gradio:7860 is reachable
6
- # only on the internal compose network. Override the v1.1 checkpoint via
7
- # LOCALVQE_V11_CKPT before `up`; defaults to the latest STFT-256 v5 ep7.
8
- #
9
- # Browser will warn the first time — Caddy's internal CA is self-signed.
10
- # To trust it system-wide, copy it from the named volume:
11
- # docker compose -f space/docker-compose.yml cp \
12
- # caddy:/data/caddy/pki/authorities/local/root.crt /tmp/caddy_ca.crt
13
- #
14
- services:
15
- gradio:
16
- image: localvqe-gradio
17
- container_name: localvqe-gradio
18
- working_dir: /workspace/localvqe/space
19
- command: python -u app.py
20
- expose:
21
- - "7860"
22
- environment:
23
- PYTHONUNBUFFERED: "1"
24
- OMP_NUM_THREADS: "4"
25
- MKL_NUM_THREADS: "4"
26
- GRADIO_SERVER_NAME: "0.0.0.0"
27
- LOCALVQE_V11_CKPT: ${LOCALVQE_V11_CKPT:-/workspace/localvqe/checkpoints/exp_released_stft256_v5/20260503_130859/epoch_0007.pt}
28
- LOCALVQE_V1_CKPT: /root/.cache/huggingface/hub/models--LocalAI-io--LocalVQE/snapshots/808f1e4bff2a3049ae6beab28f46d4f35b74c447/localvqe-v1-1.3M.pt
29
- volumes:
30
- - ../:/workspace/localvqe
31
- - ${HOME}/.cache/huggingface:/root/.cache/huggingface
32
- restart: unless-stopped
33
-
34
- caddy:
35
- image: caddy:2-alpine
36
- container_name: localvqe-caddy
37
- ports:
38
- - "7864:7864"
39
- volumes:
40
- - ./Caddyfile:/etc/caddy/Caddyfile:ro
41
- - caddy_data:/data
42
- - caddy_config:/config
43
- depends_on:
44
- - gradio
45
- restart: unless-stopped
46
-
47
- volumes:
48
- caddy_data:
49
- caddy_config: