remove routings in traefik

This commit is contained in:
holzi1005 2024-12-08 17:51:01 +01:00
parent 9040a14a02
commit a53b66fc3b

View file

@ -22,14 +22,6 @@ services:
hostname: websocket-ja
image: git.h2-invent.com/meetling/websocket:1.0.12
restart: unless-stopped
depends_on:
- traefik-ja
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/healthz"]
interval: 10s
retries: 5
timeout: 10s
start_period: 10s
extra_hosts:
- "<clientUrl>:<hostIp>"
env_file:
@ -38,7 +30,6 @@ services:
- "traefik.enable=true"
- "traefik.http.routers.websocket-ja.rule=Host(`<clientUrl>`) && PathPrefix(`/ws`)"
- "traefik.http.routers.websocket-ja.entrypoints=web"
- "traefik.http.services.websocket-ja.loadbalancer.server.port=3000"
networks:
- external
- internal
@ -50,12 +41,6 @@ services:
depends_on:
db-ja:
condition: service_healthy
healthcheck:
test: [ "CMD", "curl", "-s", "-f", "-i", "http://localhost:8080/health/check" ]
interval: 20s
timeout: 10s
start_period: 30s
retries: 10
env_file:
- ./.env.local
extra_hosts:
@ -64,7 +49,6 @@ services:
- "traefik.enable=true"
- "traefik.http.routers.app-ja.rule=Host(`<clientUrl>`)"
- "traefik.http.routers.app-ja.entrypoints=web"
- "traefik.http.services.app-ja.loadbalancer.server.port=8080"
volumes:
- ja_data:/var/www/html/data
- theme_data:/var/www/html/theme