-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathdocker-compose.yaml
50 lines (50 loc) · 1.27 KB
/
docker-compose.yaml
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
services:
getwvkeys:
build:
context: .
dockerfile: Dockerfile
args:
DEVELOPMENT: false
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- getwvkeys-storage:/exec/persistent/storage
depends_on:
db:
condition: service_healthy
db:
image: mariadb
restart: unless-stopped
environment:
- MARIADB_ROOT_PASSWORD=toor
- MARIADB_DATABASE=getwvkeys
- MARIADB_USER=getwvkeys
- MARIADB_PASSWORD=toor
ports:
- "3306:3306"
volumes:
- db:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 3
phpmyadmin:
image: phpmyadmin
restart: unless-stopped
ports:
- "8081:80"
depends_on:
- db
environment:
PMA_PORT: 3306
PMA_HOST: db
PMA_USER: root
PMA_PASSWORD: toor
PMA_PMADB: getwvkeys
UPLOAD_LIMIT: 1000000000
volumes:
getwvkeys-storage:
db: