updated the ports
All checks were successful
Deploy Stack to Swarm / deploy (push) Successful in 12s
All checks were successful
Deploy Stack to Swarm / deploy (push) Successful in 12s
This commit is contained in:
@@ -3,11 +3,16 @@ services:
|
|||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
networks:
|
networks:
|
||||||
- caddy
|
- caddy
|
||||||
|
ports:
|
||||||
|
- target: 80
|
||||||
|
published: 8080
|
||||||
|
mode: host
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
labels:
|
labels:
|
||||||
caddy: test.frostlabs.me
|
caddy: test.frostlabs.me
|
||||||
caddy.reverse_proxy: "{{upstreams 80}}"
|
caddy.reverse_proxy: "nginx:80"
|
||||||
|
caddy.tls.dns: cloudflare
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user