forked from phundament/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fig.yml
55 lines (53 loc) · 1.02 KB
/
fig.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
web:
build: .
ports:
- "80"
expose:
- "80"
volumes:
- ./:/app/
links:
- db:DB
environment:
APP_NAME: myapp-fig
APP_PRETTY_URLS: 1
YII_ENV: dev
YII_DEBUG: true
VIRTUAL_HOST: ~myapp-fig\..*\.xip\.io
db:
image: mysql
ports:
- "3306"
expose:
- "3306"
environment:
MYSQL_ROOT_PASSWORD: secretroot
MYSQL_USER: dev
MYSQL_PASSWORD: dev123
MYSQL_DATABASE: myapp-fig
testweb:
build: .
ports:
- "80"
expose:
- "80"
volumes:
- ./:/app/
links:
- testdb:DB
environment:
APP_NAME: test-myapp-fig
APP_PRETTY_URLS: 1
YII_ENV: test
VIRTUAL_HOST: ~test-myapp-fig\..*\.xip\.io
testdb:
image: mysql
ports:
- "3306"
expose:
- "3306"
environment:
MYSQL_ROOT_PASSWORD: secretroot
MYSQL_USER: test
MYSQL_PASSWORD: test123
MYSQL_DATABASE: test-myapp-fig