This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
executable file
·81 lines (73 loc) · 1.65 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: '2.3'
services:
mysql:
image: gennyproject/mysql:8x
container_name: mysql
environment:
- MYSQL_URL=mysql
- MYSQL_DB=gennydb
- MYSQL_PORT=3306
- MYSQL_ALLOW_EMPTY=
- MYSQL_DATABASE=gennydb
- MYSQL_USER=genny
- MYSQL_PASSWORD=password
- MYSQL_ROOT_PASSWORD=password
- ADMIN_USERNAME=admin
- ADMIN_PASSWORD=password
# env_file:
# - ${ENV_FILE}
volumes:
- mysql_data:/var/lib/mysql:delegated
networks:
- mainproxy
ports:
- 3310:3306
command: --sql_mode=""
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 20s
retries: 10
restart: unless-stopped
bootq:
depends_on:
mysql:
condition: service_healthy
image: gennyproject/bootq:latest
# container_name: bootq
volumes:
- ./google_credentials:/root/.genny/sheets.googleapis.com-java-quickstart
env_file:
- ${ENV_FILE}
environment:
# - VIRTUAL_HOST=bootq.*
- VIRTUAL_PORT=8080
- VIRTUAL_PROTO=http
- CERT_NAME=genny.life
- DEBUG_SUSPEND=n
# - DDT_URL=http://bridge:8089
- FULL_MYSQL_URL=jdbc:mysql://mysql/gennydb
ports:
- "8480:8080"
- "8487:8787"
links:
- mysql:mysql
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/version"]
interval: 10s
timeout: 10s
retries: 100
restart: unless-stopped
networks:
- mainproxy
volumes:
abn_tmp:
mysql_data:
minio_conf:
minio_data:
maildata:
driver: local
mailstate:
driver: local
networks:
mainproxy:
driver: bridge