Update roles/demolamp/files/demolamp.tpl
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
version: '3.9'
|
version: '3.9'
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:{{ ansTagVer }}
|
image: {{ pvgnginx.imageName }}:{{ ansTagVer }}
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
environment:
|
environment:
|
||||||
@@ -18,8 +18,6 @@ services:
|
|||||||
volume:
|
volume:
|
||||||
nocopy: true
|
nocopy: true
|
||||||
deploy:
|
deploy:
|
||||||
# mode: replicated
|
|
||||||
# replicas: 2
|
|
||||||
mode: global
|
mode: global
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
@@ -40,7 +38,7 @@ services:
|
|||||||
- lnmp-demo
|
- lnmp-demo
|
||||||
|
|
||||||
php-fpm:
|
php-fpm:
|
||||||
image: php:{{ ansTagVer }}
|
image: {{ pvgphpfpm.imageName }}:{{ ansTagVer }}
|
||||||
ports:
|
ports:
|
||||||
- 9000:9000
|
- 9000:9000
|
||||||
volumes:
|
volumes:
|
||||||
@@ -57,8 +55,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- lnmp-demo
|
- lnmp-demo
|
||||||
deploy:
|
deploy:
|
||||||
# mode: replicated
|
|
||||||
# replicas: 2
|
|
||||||
mode: global
|
mode: global
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
@@ -97,12 +93,7 @@ volumes:
|
|||||||
o: "addr=192.168.11.121,vers=4,soft,timeo=180,bg,tcp,rw"
|
o: "addr=192.168.11.121,vers=4,soft,timeo=180,bg,tcp,rw"
|
||||||
device: "192.168.11.121:/phpconf"
|
device: "192.168.11.121:/phpconf"
|
||||||
|
|
||||||
#networks:
|
|
||||||
# lnmp-demo:
|
|
||||||
# external: true
|
|
||||||
# name: lnmp-demo
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
lnmp-demo:
|
lnmp-demo:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
# external: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user