chore(docker): update environment variable prefixes to AMCS

This commit is contained in:
Hein
2026-03-26 16:26:15 +02:00
parent 8d0a91a961
commit 5d43228c2e
7 changed files with 38 additions and 30 deletions

View File

@@ -66,7 +66,7 @@ LLM integration instructions are served at `/llm`.
The repo now includes a `Dockerfile` and Compose files for running the app with Postgres + pgvector.
1. Set a real LiteLLM key in your shell:
`export OB1_LITELLM_API_KEY=your-key`
`export AMCS_LITELLM_API_KEY=your-key`
2. Start the stack with your runtime:
`docker compose -f docker-compose.yml -f docker-compose.docker.yml up --build`
`podman compose -f docker-compose.yml up --build`
@@ -75,8 +75,10 @@ The repo now includes a `Dockerfile` and Compose files for running the app with
Notes:
- The app uses `configs/docker.yaml` inside the container.
- `OB1_LITELLM_BASE_URL` overrides the LiteLLM endpoint, so you can retarget it without editing YAML.
- `OB1_OLLAMA_BASE_URL` overrides the Ollama endpoint for local or remote servers.
- The local `./configs` directory is mounted into `/app/configs`, so config edits apply without rebuilding the image.
- `AMCS_LITELLM_BASE_URL` overrides the LiteLLM endpoint, so you can retarget it without editing YAML.
- `AMCS_OLLAMA_BASE_URL` overrides the Ollama endpoint for local or remote servers.
- The Compose stack uses a default bridge network named `amcs`.
- The base Compose file uses `host.containers.internal`, which is Podman-friendly.
- The Docker override file adds `host-gateway` aliases so Docker can resolve the same host endpoint.
- Database migrations `001` through `005` run automatically when the Postgres volume is created for the first time.