diff --git a/docker-compose.yml b/docker-compose.yml index 6f32c65..3feb7ac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,6 +35,22 @@ services: volumes: - ollama_data:/root/.ollama + # Optional database browser for people (agents use the Foundry.Knowledge module, never this). + # docker compose --profile viewer up -d adminer then open http://localhost:8080 + # Log in: System PostgreSQL, Server postgres, Username foundry, Password from .env, Database foundry + # Look in schema "knowledge". Browse only: edits here bypass the module's rules. + adminer: + image: adminer + container_name: foundry-adminer + profiles: ["viewer"] + restart: unless-stopped + environment: + ADMINER_DEFAULT_SERVER: postgres + ports: + - "127.0.0.1:8080:8080" + depends_on: + - postgres + volumes: postgres_data: ollama_data: