install.fairie/home/dot_config/docker/templates/nginx.docker-stack.yml.tmpl

23 lines
346 B
Cheetah
Raw Normal View History

---
version: '3.8'
services:
nginx:
image: megabytelabs/nginx:latest
container_name: NGINX
ports:
- "443:443"
- "80:80"
volumes:
- ''
networks:
- nginx_network
deploy:
mode: global
placement:
constraints: [node.role == manager]
networks:
nginx_network:
external: true