summaryrefslogtreecommitdiff
path: root/docker-stack.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-stack.yml')
-rw-r--r--docker-stack.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/docker-stack.yml b/docker-stack.yml
index 9b10293..730e730 100644
--- a/docker-stack.yml
+++ b/docker-stack.yml
@@ -4,9 +4,12 @@ services:
web:
image: ${IMAGE_NAME}
ports:
- - "8280:80"
+ - target: 80
+ published: 8280
+ protocol: tcp
+ mode: host
deploy:
- replicas: 2
+ replicas: 1
update_config:
parallelism: 1
delay: 10s