-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 873 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (37 loc) · 873 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
29
30
31
32
33
34
35
36
37
38
39
40
version: '3.4'
services:
mariadb:
image: mariadb:10.5.5-focal
restart: always
environment:
MYSQL_ROOT_PASSWORD: apple
MYSQL_DATABASE: kagladder
MYSQL_USER: kaguser
MYSQL_PASSWORD: kagpass
volumes:
- ./database/create_databases.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- 3306:3306
adminer:
image: adminer
restart: always
ports:
- 8080:8080
kagladder-api:
build:
context: server
restart: always
ports:
- 5000:5000
volumes:
- ./dev.api.cfg:/app/default.cfg:ro
- ./dev.ip_whitelist.txt:/app/ip_whitelist.txt:ro
depends_on:
- mariadb
kagladder-client:
build:
context: client
restart: always
volumes:
- ./dev.clients.toml:/app/config.toml:ro
command: ["config.toml", "--api-url", "http://kagladder-api:5000"]