-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
48 lines (47 loc) · 1.51 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
version: '2'
services:
mariadb_1:
image: mariadb:10.0.38
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: campaignmanager_db_1
MYSQL_USER: suser@%
MYSQL_PASSWORD: password
mariadb_2:
image: mariadb:10.0.38
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: campaignmanager_db_2
MYSQL_USER: suser@%
MYSQL_PASSWORD: password
campaignmanager:
container_name: campaign-manager
build: .
ports:
- "8080:8080"
- "8081:8081"
- "5005:5005"
volumes:
- /var/log/campaign-manager
environment:
LOG_LEVEL: DEBUG
SHARD0_CONNECTION_STRING: jdbc:mariadb://mariadb_1/campaignmanager_db_1?createDatabaseIfNotExist=true
SHARD1_CONNECTION_STRING: jdbc:mariadb://mariadb_2/campaignmanager_db_2?createDatabaseIfNotExist=true
DB_USER: root
DB_PASSWORD: password
AUTH_ENABLED: "false"
JWT_PRIVATE_KEY: ${JWT_PRIVATE_KEY}
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID}
GOOGLE_CLIENT_SECRET: ${GOOGLE_CLIENT_SECRET}
SERVER_ENDPOINT: localhost:8080
SECURE_ENDPOINT: "false"
GOOGLE_DOMAIN: projectstepone.org
KALEYRA_SMS_KEY: ${KALEYRA_SMS_KEY}
KALEYRA_SMS_SENDERS: ${KALEYRA_SMS_SENDERS}
KALEYRA_IVR_KEY: ${KALEYRA_IVR_KEY}
KALEYRA_ENTITY_ID: ${KALEYRA_ENTITY_ID}
JAVA_OPTS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
PROVIDER_CALLBACK_ENDPOINT: "http://localhost:8080"
depends_on:
- mariadb_1
- mariadb_2