diff --git a/docker-compose-kcidb.yaml b/docker-compose-kcidb.yaml index 88f70faca..200635245 100644 --- a/docker-compose-kcidb.yaml +++ b/docker-compose-kcidb.yaml @@ -26,6 +26,15 @@ services: - './data/kcidb:/home/kernelci/data/kcidb' - './logs:/home/kernelci/logs' restart: on-failure + postgres: + container_name: 'kernelci-pipeline-postgres-proxy' + image: 'gcr.io/cloud-sql-connectors/cloud-sql-proxy:latest' + command: 'kernelci-production:us-central1:postgresql2 -c/home/kernelci/data/kcidb/kernelci-production-ci-kernelci.json -a0.0.0.0' + networks: ['kcidb'] + volumes: + - './data/kcidb:/home/kernelci/data/kcidb' + restart: on-failure + networks: kcidb: driver: bridge