-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
46 lines (44 loc) · 1.57 KB
/
docker-compose.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
version: '3.8'
services:
db:
container_name: pg_container_rd
image: library/postgres:9.6
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- "5432:5432"
pgadmin:
container_name: pgadmin4_container_rd
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: root
ports:
- "5050:80"
dgc-revocation-distribution-service:
build: .
image: eu-digital-green-certificates/dgc-revocation-distribution
volumes:
- ./certs:/ec/prod/app/san/dgc
ports:
- 8080:8080
environment:
- SERVER_PORT=8080
- SPRING_PROFILES_ACTIVE=gateway
- SPRING_DATASOURCE_URL=jdbc:postgresql://db:5432/postgres
- DGC_GATEWAY_CONNECTOR_ENDPOINT=https://dgc-gateway.example.com
- DGC_GATEWAY_CONNECTOR_TLSTRUSTSTORE_PATH=file:/ec/prod/app/san/dgc/tls_trust_store.p12
- DGC_GATEWAY_CONNECTOR_TLSTRUSTSTORE_PASSWORD=set_password_here
- DGC_GATEWAY_CONNECTOR_TLSKEYSTORE_ALIAS=1
- DGC_GATEWAY_CONNECTOR_TLSKEYSTORE_PATH=file:/ec/prod/app/san/dgc/tls_key_store.p12
- DGC_GATEWAY_CONNECTOR_TLSKEYSTORE_PASSWORD=set_password_here
- DGC_GATEWAY_CONNECTOR_TRUSTANCHOR_ALIAS=ta
- DGC_GATEWAY_CONNECTOR_TRUSTANCHOR_PATH=file:/ec/prod/app/san/dgc/trust_anchor.jks
- DGC_GATEWAY_CONNECTOR_TRUSTANCHOR_PASSWORD=set_password_here
- DGC_ISSUANCE_DGCI_ENDPOINT=https://dgca-issuance-service-eu-test.example.com
depends_on:
- db