-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (43 loc) · 942 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
version: "3"
services:
mysql:
image: mysql/mysql-server:latest
ports:
- 45000:3306/tcp
volumes:
- mysql-data:/var/lib/mysql
- ./config/mysql8.cnf:/etc/mysql/conf.d/recipedb.cnf"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
MYSQL_ROOT_HOST: '%'
auth:
build: ops/develop
volumes:
- .:/recipes:delegated
- gopkg:/go/pkg/mod
ports:
- "9000:80/tcp"
- "9100:40000/tcp"
cap_add:
- SYS_PTRACE
command: ops/develop/startup.sh serve auth
cookbook:
build: ops/develop
volumes:
- .:/recipes:delegated
- gopkg:/go/pkg/mod
ports:
- "8000:80/tcp"
- "8100:40000/tcp"
cap_add:
- SYS_PTRACE
command: ops/develop/startup.sh serve cookbook
recipes:
image: recipes:latest
volumes:
- ./migrations:/migrations
depends_on:
- mysql
volumes:
mysql-data: {}
gopkg: