generated from B1NARY-GR0UP/.github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
31 lines (29 loc) · 821 Bytes
/
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
version: "3.7"
services:
mysql:
image: mysql:latest
ports:
- "3306:3306"
volumes:
- ./storage/sql:/docker-entrypoint-initdb.d
environment:
- MYSQL_DATABASE=openalysis
- MYSQL_USER=openalysis
- MYSQL_PASSWORD=openalysis
- MYSQL_RANDOM_ROOT_PASSWORD="yes"
command:
--sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
grafana:
image: grafana/grafana:latest
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
ports:
- "3000:3000"
openalysis:
build: .
command: ["start", "-c", "@daily", "-t", "your-github-token", "-r", "3", "path2config.yaml"]
depends_on:
- mysql
- grafana