Skip to content

Commit

Permalink
chore(docker-compose): remove labels associated with socket
Browse files Browse the repository at this point in the history
  • Loading branch information
nicotsx committed Jan 15, 2025
1 parent 645f5bc commit 4694c28
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/assets/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,32 +107,6 @@ services:
traefik.http.routers.dashboard-local.tls: true
traefik.http.routers.dashboard-local.service: dashboard

# ---- socket ----- #
traefik.http.services.socket.loadbalancer.server.port: 5001
# Local ip
traefik.http.routers.socket.rule: PathPrefix("/api/socket.io")
traefik.http.routers.socket.service: socket
traefik.http.routers.socket.entrypoints: web
# Websecure
traefik.http.routers.socket-insecure.rule: Host(`${DOMAIN}`) && PathPrefix(`/api/socket.io`)
traefik.http.routers.socket-insecure.service: socket
traefik.http.routers.socket-insecure.entrypoints: web
traefik.http.routers.socket-insecure.middlewares: redirect-to-https
traefik.http.routers.socket-secure.rule: Host(`${DOMAIN}`) && PathPrefix(`/api/socket.io`)
traefik.http.routers.socket-secure.service: socket
traefik.http.routers.socket-secure.entrypoints: websecure
traefik.http.routers.socket-secure.tls.certresolver: myresolver
# Local domain
traefik.http.routers.socket-local-insecure.rule: Host(`${LOCAL_DOMAIN}`) && PathPrefix("/api/socket.io")
traefik.http.routers.socket-local-insecure.entrypoints: web
traefik.http.routers.socket-local-insecure.service: socket
traefik.http.routers.socket-local-insecure.middlewares: redirect-to-https
# Secure
traefik.http.routers.socket-local.rule: Host(`${LOCAL_DOMAIN}`) && PathPrefix("/api/socket.io")
traefik.http.routers.socket-local.entrypoints: websecure
traefik.http.routers.socket-local.tls: true
traefik.http.routers.socket-local.service: socket

networks:
tipi_main_network:
driver: bridge
Expand Down

0 comments on commit 4694c28

Please sign in to comment.