-
Notifications
You must be signed in to change notification settings - Fork 38
/
docker-compose.yml
54 lines (54 loc) · 1.34 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
52
53
54
version: '2.1'
services:
frontend:
build: frontend
image: libertybikes-frontend
ports:
- "12000:12000"
auth:
build: auth-service
image: libertybikes-auth
ports:
- "8082:8082"
environment:
- frontend_url=http://frontend:12000/login
- auth_url=https://auth:8482/auth-service
game:
build: game-service
image: libertybikes-game
ports:
- "8080:8080"
environment:
- org_libertybikes_restclient_PlayerService_mp_rest_url=http://player:8081
- singleParty
player:
build: player-service
image: libertybikes-player
ports:
- "8081:8081"
environment:
- DB_HOST=postgres
postgres:
image: postgres:11-alpine
ports:
- 5432:5432
environment:
- POSTGRES_DB=playerdb
- POSTGRES_USER=lb_user
- POSTGRES_PASSWORD=lb_password
prometheus:
image: prom/prometheus:v2.4.0
ports:
- 9090:9090
volumes:
- ./monitoring/prometheus:/etc/prometheus
grafana:
image: grafana/grafana:5.2.4
ports:
- 3000:3000
environment:
- GF_INSTALL_PLUGINS=flant-statusmap-panel
volumes:
- ./monitoring/datasource:/etc/grafana/provisioning/datasources
- ./monitoring/dashboardList:/etc/grafana/provisioning/dashboards
- ./monitoring/grafanaDashboardConfig:/var/lib/grafana/dashboards