placement for nginx

This commit is contained in:
Will Murphy 2023-01-27 12:50:47 -06:00
parent a7f8d8daf4
commit 2874433cf1

View file

@ -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