placement for nginx
This commit is contained in:
parent
a7f8d8daf4
commit
2874433cf1
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@ version: "3.8"
|
||||||
services:
|
services:
|
||||||
proxy:
|
proxy:
|
||||||
image: valian/docker-nginx-auto-ssl
|
image: valian/docker-nginx-auto-ssl
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- "node.labels.web==true"
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
|
Loading…
Reference in a new issue