-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (47 loc) · 1.32 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
version: "3.9"
services:
app:
container_name: "app_backend"
build: ./backend
depends_on:
mysql:
condition: service_healthy
environment:
SPRING_APPLICATION_JSON: '{
"spring.datasource.url" : "jdbc:mysql://mysql:3306/db_tacs_wordle?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&allowPublicKeyRetrieval=true&useSSL=false",
"spring.datasource.username" : "root",
"spring.datasource.password" : "Mysql123",
"spring.jpa.properties.hibernate.dialect" : "org.hibernate.dialect.MySQL5InnoDBDialect",
"spring.jpa.hibernate.ddl-auto" : "update",
"spring.session.jdbc.initialize-schema": "always"
}'
ports:
- "8080:8080"
mysql:
container_name: mysql
restart: always
image: mysql:8.0.29
volumes:
- ./schemas:/var/lib/mysql:rw
ports:
- "23306:3306"
environment:
MYSQL_DATABASE: "db_tacs_wordle"
MYSQL_USER: "userdb"
MYSQL_PASSWORD: "tacs123"
MYSQL_ROOT_PASSWORD: "Mysql123"
healthcheck:
test: "exit 0"
tacsfront:
container_name: tacsfront
build: ./frontend
ports:
- 3000:3000
environment:
- CHOKIDAR_USEPOLLING=
bot-uwu:
build: ./wordle-bot
environment:
- ENV=prod
links:
- app