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 e44894d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker-compose-kcidb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ 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'
- '--credentials-file /home/kernelci/data/kcidb/kernelci-production-ci-kernelci.json'
networks: ['kcidb']
volumes:
- './data/kcidb:/home/kernelci/data/kcidb'
restart: on-failure

networks:
kcidb:
driver: bridge

0 comments on commit e44894d

Please sign in to comment.