Repository navigation
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
66 lines (61 loc) · 1.54 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
66 lines (61 loc) · 1.54 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
60
61
62
63
64
65
66
# Dev override: publish Vite / FastAPI / docs on the host; skip nginx.
#
# uv run poe up
# docker compose -f docker-compose.yml -f docker-compose.dev.yml up
#
# UI http://localhost:14321 · API http://localhost:14322 · Docs http://localhost:14323
services:
nginx:
# Keep the service defined but out of the default project start set.
profiles: ["nginx"]
web:
ports:
- "14321:14321"
environment:
PUBLIC_AI_BASE_URL: http://localhost:14322
VITE_HMR_CLIENT_PORT: "14321"
backend:
ports:
- "14322:14322"
command:
[
"soju",
"backend",
"--config",
"/config/soju/backend.dev.yaml",
"--host",
"0.0.0.0",
"--port",
"14322",
]
docs:
build:
target: dev
command:
[
"sphinx-autobuild",
"soju",
"/app/docs-build/html",
"-c",
".",
"--host",
"0.0.0.0",
"--port",
"14323",
]
working_dir: /app/docs
ports:
- "14323:14323"
volumes:
- ./docs:/app/docs:rw
# Build output outside the docs bind mount so Docker never creates a
# root-owned docs/_build/ mountpoint on the host (breaks ``poe docs`` clean).
# Also keeps container doctrees (Py 3.12) separate from host ``poe docs``.
- docs_build:/app/docs-build
- ./src:/app/src:ro
- ./data:/app/data:ro
- ./pyproject.toml:/app/pyproject.toml:ro
- ./README.md:/app/README.md:ro
- ./LICENSE:/app/LICENSE:ro
volumes:
docs_build: