54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
# ThothII — deploy STANDALONE locale (dev / smoke test, senza portale).
|
|
# Rete propria + porte host per ispezione diretta.
|
|
# docker compose -f docker-compose.dev.yml up -d --build
|
|
# frontend: http://localhost:8090 backend: http://localhost:8787
|
|
name: thothii-dev
|
|
|
|
services:
|
|
core:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/core.Dockerfile
|
|
image: thothii-core:local
|
|
env_file: [deploy/thothii.env]
|
|
environment:
|
|
HOST: 0.0.0.0
|
|
PORT: "8787"
|
|
THT_HARNESS_DIR: /app/harness
|
|
THT_BIN: /opt/venv/bin/tht
|
|
PI_BIN: pi
|
|
AUTH_MODE: ${AUTH_MODE:-none}
|
|
THT_SESSION_STORAGE: local
|
|
THT_HOME: /data/local-home
|
|
SETTINGS_FILE: /data/settings/settings.json
|
|
MAX_PI_PROCESSES: ${MAX_PI_PROCESSES:-4}
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
volumes:
|
|
- /home/chirone/thothii-data:/data
|
|
- /home/chirone/thothii-data/pi-config:/home/thoth/.pi
|
|
- /home/chirone/chirone/etl/docs/evidence:/data/evidence:ro
|
|
ports:
|
|
- "127.0.0.1:8787:8787"
|
|
restart: "no"
|
|
networks: [thothii-net]
|
|
|
|
frontend:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/frontend.Dockerfile
|
|
args:
|
|
VITE_BASE: /
|
|
VITE_BACKEND_URL: /api
|
|
image: thothii-frontend:local
|
|
ports:
|
|
- "127.0.0.1:8090:8080"
|
|
depends_on:
|
|
- core
|
|
restart: "no"
|
|
networks: [thothii-net]
|
|
|
|
networks:
|
|
thothii-net:
|
|
driver: bridge
|