-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (43 loc) · 1.49 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'
services:
postgres:
image: postgres
ports:
- 5432:5432
environment:
- POSTGRES_PASSWORD=admin # do not use this for production deployments
- PGPASSWORD=admin # do not use this for production deployments
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
networks:
persistence:
ddcc-gateway:
build: .
image: smarttrustnetworkgateway:latest
volumes:
- ./certs:/ec/prod/app/san/dgc
- ./logs:/logs
ports:
- 8080:8080
environment:
- SERVER_PORT=8080
- SPRING_PROFILES_ACTIVE=log2console,local
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/postgres
- SPRING_DATASOURCE_DRIVERCLASSNAME=org.postgresql.Driver
- SPRING_DATASOURCE_JNDI_NAME=false
- SPRING_JPA_DATABASEPLATFORM=org.hibernate.dialect.PostgreSQLDialect
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=admin # do not use this for production deployments
- DGC_TRUSTANCHOR_KEYSTOREPATH=/ec/prod/app/san/dgc/ta.jks
- DGC_TRUSTANCHOR_KEYSTOREPASS=dgcg-p4ssw0rd # do not use this for production deployments
- DGC_TRUSTANCHOR_CERTIFICATEALIAS=dgcg_trust_anchor
- DGC_FEDERATION_KEYSTOREPATH=/ec/prod/app/san/dgc/ta.jks #TODO: change to federation.jks
- DGC_FEDERATION_KEYSTOREPASSWORD=dgcg-p4ssw0rd # do not use this for production deployments
depends_on:
- postgres
networks:
backend:
persistence:
networks:
persistence:
backend: