-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 1.18 KB
/
Copy pathdocker-compose.yml
File metadata and controls
27 lines (26 loc) · 1.18 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
# docker-compose (minimal) - all configurable values come from .env in this directory
#
# The image build installs system/global npm packages, code-server, codex credentials,
# AND a staged copy of the app source + node_modules at /app_image.
# On first startup, entrypoint copies /app_image into /app when /app/mobius is missing.
# This compose file keeps legacy bind mounts for the current deployment; .env pins
# WORKSPACE_ROOT / CORE_DATA_PATH / CS_* to those legacy mount points to avoid migration.
#
# Start the stack: podman compose up -d --build (docker compose v2 also works)
services:
imac:
build:
context: .
dockerfile: Dockerfile
image: mobius-system-exe:latest
container_name: mobius-system
restart: "unless-stopped"
env_file: .env
ports:
- "${VITE_PORT}:${VITE_PORT}"
- "${MOBIUS_SSH_PORT:-33318}:${MOBIUS_SSH_PORT:-33318}"
volumes:
- ./host-data/app:/app # DB / turn-summaries / model-access / agent runtime JSON
- ./host-data/data:/data # DB / turn-summaries / model-access / agent runtime JSON
- ./host-data/codex:/root/.codex
- ./host-data/claude:/root/.claude