-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathdev.compose.yml
More file actions
57 lines (56 loc) · 1.3 KB
/
dev.compose.yml
File metadata and controls
57 lines (56 loc) · 1.3 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
services:
kepler:
build: .
container_name: kepler
restart: unless-stopped
env_file:
- .env
depends_on:
mariadb:
condition: service_healthy
ports:
- "${SERVER_PORT}:${SERVER_PORT}"
- "${RCON_PORT}:${RCON_PORT}"
- "${MUS_PORT}:${MUS_PORT}"
develop:
watch:
- action: rebuild
path: Kepler-Server/src
- action: rebuild
path: Kepler-Server/build.gradle
- action: rebuild
path: settings.gradle
- action: rebuild
path: gradle
- action: rebuild
path: gradlew
- action: rebuild
path: tools/scripts/run.sh
- action: rebuild
path: Dockerfile
mariadb:
image: mariadb:11.4
container_name: mariadb
restart: unless-stopped
env_file:
- .env
volumes:
- mariadb:/var/lib/mysql
- ./tools/kepler.sql:/docker-entrypoint-initdb.d/kepler.sql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 3
phpmyadmin:
image: phpmyadmin
container_name: phpmyadmin
restart: always
ports:
- 8080:80
environment:
- PMA_ARBITRARY=1
volumes:
mariadb:
name: kepler-mariadb