summaryrefslogtreecommitdiff
path: root/docker-stack.yml
diff options
context:
space:
mode:
authorIwanIDev <iwan@iwani.dev>2026-03-04 17:47:43 +0000
committerIwanIDev <iwan@iwani.dev>2026-03-04 17:47:43 +0000
commit572a393440b39a838b99227ba2222a210a495fac (patch)
tree5ae4fbb4060739a9bfdf102c1c8cfc597b26cb4c /docker-stack.yml
parent4c4f5ffc6b72732f516aefc6756c848330c106e7 (diff)
Refactor Docker setup: replace inline Nginx configuration with external file and update Docker stack port configuration
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