Skip to content

Commit

Permalink
feat(docker-compose): Add postgres proxy for Google Cloud
Browse files Browse the repository at this point in the history
Add postgresql proxy for further kcidb-bridge development

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed Oct 24, 2024
1 parent e5b4fcc commit 2f1e1c4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose-kcidb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2f1e1c4

Please sign in to comment.