-
Notifications
You must be signed in to change notification settings - Fork 1
/
crane.json
37 lines (37 loc) · 1.04 KB
/
crane.json
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
{
"containers": {
"silex_server": {
"dockerfile": "server",
"image": "i_silex_server",
"run": {
"publish": ["80:80"],
"tty": true,
"interactive": true,
"volumes-from": ["silex_app"],
"link": ["silex_db:db"],
"detach": true
}
},
"silex_app": {
"dockerfile": "app",
"image": "i_silex_app",
"run": {
"volume": ["app/silex:/srv/www"],
"tty": true,
"interactive": true,
"detach": true
}
},
"silex_db": {
"image": "orchardup/mysql",
"run": {
"publish": ["3306:3306"],
"env": ["MYSQL_ROOT_PASSWORD=root", "MYSQL_DATABASE=silex", "MYSQL_USER=silex", "MYSQL_PASSWORD=silex"],
"detach": true
}
}
},
"groups": {
"serverandapp": ["silex_server", "silex_app"]
}
}