File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 11version : " 3.2"
22services :
3- php :
3+ web :
44 build :
5- context : ' ./docker/php/'
5+ context : ' ./docker/web/'
6+ depends_on :
7+ - php
8+ - db
69 networks :
710 - frontend
811 - backend
12+ ports :
13+ - 80
914 volumes :
1015 - ./app/web/:/var/www/html/
11- external_links :
12- - web_server:$APP_HOSTNAME.local
13- web_server :
16+ php :
1417 build :
15- context : ' ./docker/web/'
16- depends_on :
17- - php
18- - database_server
18+ context : ' ./docker/php/'
1919 networks :
2020 - frontend
2121 - backend
22- ports :
23- - 80
2422 volumes :
2523 - ./app/web/:/var/www/html/
26- database_server :
24+ external_links :
25+ - web:$APP_HOSTNAME.local
26+ db :
2727 build :
2828 context : ' ./docker/db/'
2929 networks :
3030 - backend
3131 volumes :
3232 - ./app/db:/var/lib/mysql
3333 environment :
34- - MYSQL_ROOT_PASSWORD=root
34+ - MYSQL_ROOT_PASSWORD=root
3535networks :
3636 frontend :
3737 backend :
You can’t perform that action at this time.
0 commit comments