-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose-cdc.yml
33 lines (31 loc) · 1.02 KB
/
docker-compose-cdc.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
version: '3.9'
services:
dialogporten-service:
build:
context: .
dockerfile: src/Digdir.Domain.Dialogporten.Service/Dockerfile
restart: always
depends_on:
dialogporten-postgres:
condition: service_healthy
dialogporten-migrations:
condition: service_completed_successfully
environment:
- Infrastructure:DialogDbConnectionString=${DB_CONNECTION_STRING}
- ASPNETCORE_ENVIRONMENT=Development
dialogporten-cdc:
build:
context: .
dockerfile: src/Digdir.Domain.Dialogporten.ChangeDataCapture/Dockerfile
restart: always
depends_on:
dialogporten-postgres:
condition: service_healthy
dialogporten-migrations:
condition: service_completed_successfully
environment:
- ASPNETCORE_ENVIRONMENT=Development
- Infrastructure:DialogDbConnectionString=${DB_CONNECTION_STRING}
- ReplicationSlotName=outboxmessage_replication_slot
- PublicationName=outboxmessage_publication
- TableName=OutboxMessage