|
@@ -34,14 +34,10 @@ alias = php,composer
|
|
|
|
|
|
[nginx]
|
|
|
port = 80:80,443:443
|
|
|
-link = [php]{num}:[php]{num}
|
|
|
-volumes_from = [php]{num}
|
|
|
volumes = {container}web:/www,{container}conf/web/nginx:/etc/nginx,{container}logs/nginx/{name}/logs:/var/log/nginx
|
|
|
|
|
|
[#nginx]
|
|
|
image = openresty
|
|
|
port = 80:80,443:443
|
|
|
-link = [php]{num}:[php]{num}
|
|
|
-volumes_from = [php]{num}
|
|
|
volumes = {container}web:/www,{container}conf/web/nginx:/usr/local/openresty/nginx/conf,{container}logs/nginx/openresty_{name}/logs:/var/log/nginx
|
|
|
command = nginx
|