generated from Arquisoft/yovi_0
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (62 loc) · 1.44 KB
/
docker-compose.yml
File metadata and controls
68 lines (62 loc) · 1.44 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
version: '3.8'
services:
users:
build: ./users
container_name: users
image: ghcr.io/arquisoft/yovi_es1b-users:latest
ports:
- "3000:3000"
environment:
- MONGODB_URI=${MONGODB_URI}/users_db${MONGODB_OPTIONS}
- PORT=3000
- GAMEY_SERVICE_URL=http://gamey:3000
networks:
- monitor-net
webapp:
build:
context: ./webapp
args:
- VITE_API_URL=http://localhost:3000
- VITE_GAMEY_URL=http://localhost:4000
container_name: webapp
image: ghcr.io/arquisoft/yovi_es1b-webapp:latest
ports:
- "80:80"
depends_on:
- users
- gamey
networks:
- monitor-net
gamey:
build: ./gamey
container_name: gamey
image: ghcr.io/arquisoft/yovi_es1b-gamey:latest
ports:
- "4000:3000"
command: ["./gamey", "--mode", "server", "--port", "3000"]
environment:
- MONGODB_URI=${MONGODB_URI}/gamey_db${MONGODB_OPTIONS}
- PORT=3000
networks:
- monitor-net
prometheus:
image: prom/prometheus
container_name: prometheus
ports:
- "9090:9090"
volumes:
- ./users/monitoring/prometheus:/etc/prometheus
networks:
- monitor-net
grafana:
image: grafana/grafana
container_name: grafana
ports:
- "9091:3000"
volumes:
- ./users/monitoring/grafana/provisioning:/etc/grafana/provisioning
networks:
- monitor-net
networks:
monitor-net:
driver: bridge