-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
94 lines (84 loc) · 2.29 KB
/
docker-compose.dev.yml
File metadata and controls
94 lines (84 loc) · 2.29 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: "3"
services:
mongo:
image: mongo:latest
container_name: mongo
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "./config/dev/mongo/create-users-and-data.js:/docker-entrypoint-initdb.d/create-users-and-data.js"
environment:
MONGO_INITDB_DATABASE: "admin"
expose:
- "27017"
postgresql:
image: postgres:9.6-alpine
container_name: postgresql
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "./config/dev/postgresql/create_table_users.sql:/docker-entrypoint-initdb.d/create_table_users.sql"
expose:
- "5432"
environment:
POSTGRES_DB: "users"
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "P@ssw0rd"
x2crmdummy:
image: mysql:5.6
container_name: x2crmdummy
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "./config/dev/x2crmdummy/create_x2contacts_table.sql:/docker-entrypoint-initdb.d/create_x2contacts_table.sql"
expose:
- "3306"
environment:
MYSQL_ROOT_PASSWORD: "rootP@ssw0rd"
MYSQL_DATABASE: "x2crm"
MYSQL_USER: "mysql"
MYSQL_PASSWORD: "P@ssw0rd"
gamification:
volumes:
- "./config/dev/gamification/application.properties:/data/application.properties"
ports:
- 8081:8080
depends_on:
- mongo
keepers:
volumes:
- "./config/dev/keepers/application.properties:/data/application.properties"
ports:
- 8082:8080
depends_on:
- mongo
teams:
volumes:
- "./config/dev/teams/application.properties:/data/application.properties"
ports:
- 8083:8080
depends_on:
- mongo
users:
volumes:
- "./config/dev/users/application.properties:/data/application.properties"
ports:
- 8084:8080
depends_on:
- postgresql
- x2crmdummy
keepers-slack-bot:
volumes:
- "./config/dev/keepers-slack-bot/application.properties:/data/application.properties"
ports:
- 8085:8080
teams-slack-bot:
volumes:
- "./config/dev/teams-slack-bot/application.properties:/data/application.properties"
ports:
- 8086:8080
gamification-slack-bot:
volumes:
- "./config/dev/gamification-slack-bot/application.properties:/data/application.properties"
ports:
- 8087:8080
loadbalancer:
ports:
- "127.0.0.1:8080:80"