summaryrefslogtreecommitdiff
path: root/docker-stack.yml
diff options
context:
space:
mode:
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}