-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose-kcidb.yaml
41 lines (37 loc) · 1.15 KB
/
docker-compose-kcidb.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Copyright (C) 2023 Collabora Limited
# Author: Guillaume Tucker <guillaume.tucker@collabora.com>
version: '3'
services:
kcidb:
container_name: 'kernelci-pipeline-kcidb'
build:
context: 'docker/kcidb'
env_file: ['.env']
stop_signal: 'SIGINT'
networks: ['kcidb']
command:
- '/usr/bin/env'
- 'python3'
- '/home/kernelci/pipeline/send_kcidb.py'
- '--settings=${KCI_SETTINGS:-/home/kernelci/config/kernelci.toml}'
- 'run'
- '--name=pipeline_kcidb'
volumes:
- './src:/home/kernelci/pipeline'
- './config:/home/kernelci/config'
- './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