mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
fix: Deploy nginx last
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
services:
|
||||
nginx-proxy:
|
||||
image: ghcr.io/2martens/docker-nginx:test
|
||||
deploy:
|
||||
mode: global
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
ports:
|
||||
- target: 80
|
||||
published: 80
|
||||
protocol: tcp
|
||||
mode: host
|
||||
- target: 443
|
||||
published: 443
|
||||
protocol: tcp
|
||||
mode: host
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /etc/letsencrypt
|
||||
target: /etc/letsencrypt
|
||||
read_only: true
|
||||
- type: bind
|
||||
source: /var/www/certbot
|
||||
target: /var/www/certbot
|
||||
read_only: true
|
||||
Reference in New Issue
Block a user