summaryrefslogtreecommitdiff
path: root/docker-stack.yml
diff options
context:
space:
mode:
authorIwanIDev <iwan@iwani.dev>2026-03-21 13:15:34 +0000
committerIwanIDev <iwan@iwani.dev>2026-03-21 13:15:34 +0000
commit928fbed509e1dd872de601b75712bcfd13fc00bd (patch)
tree7cdbfaf2712a1780d29c8ea6ef2786efce44a49b /docker-stack.yml
parent63438b226ad462d594472f871f1ae3e7114aaca2 (diff)
Refactor: update Docker configuration and remove Traefik references
Diffstat (limited to 'docker-stack.yml')
-rw-r--r--docker-stack.yml18
1 files changed, 5 insertions, 13 deletions
diff --git a/docker-stack.yml b/docker-stack.yml
index 2912348..413ffbd 100644
--- a/docker-stack.yml
+++ b/docker-stack.yml
@@ -1,20 +1,12 @@
services:
web:
image: ${IMAGE_NAME}
- networks:
- - traefik
+ ports:
+ - target: 8380
+ published: 8380
+ protocol: tcp
+ mode: host
deploy:
replicas: 1
restart_policy:
condition: on-failure
- labels:
- - traefik.enable=true
- - traefik.docker.network=${TRAEFIK_NETWORK}
- - traefik.http.routers.vite-portfolio.rule=Host(`${PORTFOLIO_HOST}`)
- - traefik.http.routers.vite-portfolio.entrypoints=${TRAEFIK_ENTRYPOINTS}
- - traefik.http.services.vite-portfolio.loadbalancer.server.port=80
-
-networks:
- traefik:
- external: true
- name: ${TRAEFIK_NETWORK}