-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.override.yml
52 lines (47 loc) · 1.63 KB
/
docker-compose.override.yml
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
42
43
44
45
46
47
48
49
50
51
52
volumes:
go-mod:
go-build:
services:
postgres:
volumes:
- ./pkg/outboxce/opostgres/schema.sql:/docker-entrypoint-initdb.d/outboxce.sql:ro # outboxce
tenant:
environment:
CA_PATH: /src/internal/httpserver/testdata/ca.crt
TLS_KEY_PATH: /src/internal/httpserver/testdata/tenant.key
TLS_CERT_PATH: /src/internal/httpserver/testdata/tenant.crt
volumes:
- .:/src
kafka_topic:
image: bitnami/kafka
restart: on-failure
depends_on:
kafka:
condition: service_started
entrypoint: [bash, -c]
command:
- |
kafka-topics.sh --bootstrap-server kafka:9092 --topic outboxce --create
kafka-console-consumer.sh --bootstrap-server kafka:9092 --topic outboxce
profile:
build:
target: ${PROFILE_DOCKERFILE_TARGET:-base}
depends_on:
kafka_topic:
condition: service_started
environment:
PWD: ${PWD:-/src}
PROFILE_AEAD_DERIVABLE_KEYSET_PATH: $$PWD/internal/postgres/testdata/tink-aead.json
PROFILE_MAC_DERIVABLE_KEYSET_PATH: $$PWD/internal/postgres/testdata/tink-mac.json
PROFILE_BIDX_DERIVABLE_KEYSET_PATH: $$PWD/internal/postgres/testdata/tink-mac.json
PROFILE_TLS_KEY_PATH: $$PWD/internal/httpserver/testdata/profile.key
PROFILE_TLS_CERT_PATH: $$PWD/internal/httpserver/testdata/profile.crt
PROFILE_TLS_CLIENT_CA_PATH: $$PWD/internal/httpserver/testdata/ca.crt
PROFILE_TLS_ROOT_CA_PATH: $$PWD/internal/httpserver/testdata/ca.crt
volumes:
- go-mod:/go/pkg/mod
- go-build:/root/.cache/go-build
- ${PWD:-.}:${PWD:-/src}
ports:
- 2345:2345
working_dir: ${PWD:-/src}