services: app: image: phlogisticfugu/chatbot-confidential-app:v0.3.2 ports: - "8000:8000" depends_on: - postgres environment: APP_DATA_PATH: /data APP_POSTGRES_HOST: postgres:5432 APP_POSTGRES_USER: postgres APP_POSTGRES_PASSWORD: postgres APP_POSTGRES_DB: postgres APP_OLLAMA_HOST: host.docker.internal:11434 volumes: - /data extra_hosts: # https://stackoverflow.com/a/70725882 - "host.docker.internal:host-gateway" postgres: image: ankane/pgvector:v0.5.1 ports: - "5432:5432" environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: postgres volumes: - /var/lib/postgresql/data