-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
83 lines (80 loc) · 2.02 KB
/
docker-compose.yml
File metadata and controls
83 lines (80 loc) · 2.02 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
version: "3.9"
services:
imageservice:
image: ghcr.io/chatgut/imageservicebov:sha-925024f
depends_on:
- imageservice-mysql
ports:
- "8001:8001"
environment:
DB_URL: imageservice-mysql:3306/imageservice-mysql
DB_USER: developer
DB_PASS: password
userservice:
image: ghcr.io/chatgut/userservice:1.0
depends_on:
- userservice-mysql
container_name: userservice
ports:
- "8002:8002"
environment:
SPRING_DATASOURCE_URL: jdbc:mysql://userservice-mysql:3306/userservice-mysql
MYSQL_USER: developer
MYSQL_PASSWORD: password
authservice:
image: ghcr.io/chatgut/authservice2:latest
depends_on:
- authservice-mysql
container_name: authservice
ports:
- "8003:8080"
environment:
DB_URL: authservice-mysql:3306/authservice-mysql
DB_USER: developer
DB_PASS: password
imageservice-mysql:
image: "mysql:latest"
container_name: imageservice-mysql
volumes:
- db_mysql:/var/lib/mysql
environment:
MYSQL_ROOT_HOST: "%"
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: imageservice-mysql
MYSQL_USER: developer
MYSQL_PASSWORD: password
MYSQL_HOST: '%'
ports:
- "3309:3306"
userservice-mysql:
image: "mysql:latest"
container_name: userservice-mysql
volumes:
- db_mysql2:/var/lib/mysql
environment:
MYSQL_ROOT_HOST: "%"
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: userservice-mysql
MYSQL_USER: developer
MYSQL_PASSWORD: password
MYSQL_HOST: '%'
ports:
- "3306:3306"
authservice-mysql:
image: 'mysql:latest'
container_name: authservice-mysql
volumes:
- db_mysql3:/var/lib/mysql
environment:
MYSQL_DATABASE: authservice-mysql
MYSQL_USER: developer
MYSQL_PASSWORD: password
MYSQL_ROOT_HOST: '%'
MYSQL_ROOT_PASSWORD: password
MYSQL_HOST: '%'
ports:
- "3307:3307"
volumes:
db_mysql3:
db_mysql2:
db_mysql: