-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (27 loc) · 701 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (27 loc) · 701 Bytes
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
version: "3.8"
services:
app:
build: .
image: nincodedo/ninbot:latest
ports:
- "8080:8080"
env_file:
- config/docker.env
environment:
LOGGING_FILE: ninbot.log
LOGGING_LEVEL_COM_NINCRAFT: trace
SERVER_TOMCAT_MAX_THREADS: 5
SPRING_DATASOURCE_USERNAME: ninbot
SPRING_JPA_HIBERNATE_DDL_AUTO: update
SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT: org.hibernate.dialect.MySQL5InnoDBDialect
db:
image: mysql:latest
env_file:
- config/docker.env
command: --default-authentication-plugin=mysql_native_password
ports:
- "3306:3306"
volumes:
- mysql-data-volume:/var/lib/mysql
volumes:
mysql-data-volume: