-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathdocker-compose.yml
79 lines (72 loc) · 2 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
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
version: "3"
services:
mysql:
image: mysql:8.0
# NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
# This is only for local debugging and development. DO NOT USE IN PRODUCTION!!!!!
command: --default-authentication-plugin=mysql_native_password
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_USER=discal
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=discal
restart: unless-stopped
redis:
image: redis:alpine
restart: unless-stopped
api:
image: rg.nl-ams.scw.cloud/dreamexposure/discal-server:latest
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
ports:
- "8080:8080"
- "5005:5005"
volumes:
- ./.docker/api:/discal
working_dir: /discal
depends_on:
- mysql
- redis
cam:
image: rg.nl-ams.scw.cloud/dreamexposure/discal-cam:latest
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
ports:
- "8081:8080"
- "5006:5005"
- "8008:8008"
volumes:
- ./.docker/cam:/discal
working_dir: /discal
depends_on:
- mysql
- redis
- api
bot:
image: rg.nl-ams.scw.cloud/dreamexposure/discal-client:latest
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
ports:
- "5007:5005"
volumes:
- ./.docker/bot:/discal
working_dir: /discal
depends_on:
- mysql
- redis
- api
- cam
web:
image: rg.nl-ams.scw.cloud/dreamexposure/discal-web:latest
environment:
- JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
ports:
- "3000:8080"
- "5008:5005"
volumes:
- ./.docker/web:/discal
working_dir: /discal
depends_on:
- api
volumes:
discal_data: {}