-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
51 lines (47 loc) · 1.72 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
47
48
49
50
51
services:
collectionexercise:
container_name: collex-case-it
external_links:
- postgres-case-it
image: eu.gcr.io/ons-rasrmbs-management/collection-exercise:latest
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres-case-it:5432/postgres?sslmode=disable
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=postgres
- SPRING_LIQUIBASE_URL=jdbc:postgresql://postgres-case-it:5432/postgres
- SPRING_LIQUIBASE_USER=postgres
- SPRING_LIQUIBASE_PASSWORD=postgres
- SPRING_CLOUD_GCP_PROJECTID=test
- SPRING_CLOUD_GCP_PUBSUB_EMULATORHOST=pubsub-emulator-it:8681
- SURVEY_SVC_CONNECTION_CONFIG_HOST=survey-case-it
- SURVEY_SVC_CONNECTION_CONFIG_PORT=8080
- PUBSUB_EMULATOR_HOST=pubsub-emulator-it:8681
ports:
- "38145:8145"
postgres-database:
container_name: postgres-case-it
image: eu.gcr.io/ons-rasrmbs-management/postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- "15432:5432"
pubsub-emulator:
container_name: pubsub-emulator-it
image: eu.gcr.io/ons-rasrmbs-management/pubsub-emulator
ports:
- "18681:8681"
environment:
- PUBSUB_PROJECT1=ras-rm-dev,test_case_creation_topic:test_case_creation_subscription,test_event_status_topic:test_event_status_subscription
survey:
container_name: survey-case-it
image: eu.gcr.io/ons-rasrmbs-management/survey:latest
external_links:
- postgres-case-it
environment:
- DATABASE_URL=postgres://postgres:postgres@postgres-case-it:5432/postgres?sslmode=disable
- security_user_name=admin
- security_user_password=secret
ports:
- "38080:8080"