-
Notifications
You must be signed in to change notification settings - Fork 37
/
docker-compose.yml
53 lines (47 loc) · 928 Bytes
/
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
version: "3.7"
volumes:
db:
services:
db:
image: mariadb:10.5
restart: always
networks:
- gnet
ports:
- 3306:3306
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_PASSWORD=
- MYSQL_DATABASE=gobot
- MYSQL_USER=gobot
gobot_driver:
image: braidgo/gobot-driver:v0.4.1
restart: always
networks:
- gnet
depends_on:
- db
command: "-no_database=false -httpmock=true -tcpmock=true -script_path scipt/"
ports:
- 8888:8888
deploy:
resources:
limits:
cpus: "2"
environment:
- MYSQL_PASSWORD=
- MYSQL_DATABASE=gobot
- MYSQL_USER=gobot
- MYSQL_HOST=db
gobot_editor:
image: braidgo/gobot-editor:v0.4.1
restart: always
depends_on:
- gobot_driver
ports:
- 7777:7777
networks:
gnet:
driver: bridge