33 lines
718 B
YAML
33 lines
718 B
YAML
# Soleprint Standalone - Docker Compose
|
|
#
|
|
# Runs soleprint as a single service with path-based routing
|
|
#
|
|
# Usage:
|
|
# cd gen/standalone && docker compose up -d
|
|
|
|
name: soleprint_standalone
|
|
|
|
services:
|
|
soleprint:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: soleprint
|
|
user: "${UID:-1000}:${GID:-1000}"
|
|
volumes:
|
|
- .:/app
|
|
ports:
|
|
- "12000:8000"
|
|
environment:
|
|
# External URLs use relative paths for nginx proxying
|
|
- ARTERY_EXTERNAL_URL=/artery
|
|
- ATLAS_EXTERNAL_URL=/atlas
|
|
- STATION_EXTERNAL_URL=/station
|
|
networks:
|
|
- gateway
|
|
command: uvicorn run:app --host 0.0.0.0 --port 8000 --reload
|
|
|
|
networks:
|
|
gateway:
|
|
external: true
|