Revert "docker-swarm-review"
This reverts commit 49d2697ef4c5047934a642b0df656c5112d37509.
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
nginx-proxy:
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- '8080:8080'
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
placement:
|
||||
constraints:
|
||||
- node.labels.review_nginx_proxy==1
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: review
|
||||
external: true
|
||||
Reference in New Issue
Block a user