2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00

Move Traefik config to appropriate override (#698)

Fixes #690
This commit is contained in:
Lev 2022-03-15 02:36:46 +03:00 committed by GitHub
parent 437afb1776
commit 1fff78ed82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -43,11 +43,6 @@ services:
depends_on: depends_on:
- backend - backend
- websocket - websocket
labels:
- traefik.enable=true
- traefik.http.services.frontend.loadbalancer.server.port=8080
- traefik.http.routers.frontend-http.entrypoints=web
- traefik.http.routers.frontend-http.rule=HostRegexp(`{any:.+}`)
websocket: websocket:
<<: *depends_on_configurator <<: *depends_on_configurator

View File

@ -1,4 +1,11 @@
services: services:
frontend:
labels:
- traefik.enable=true
- traefik.http.services.frontend.loadbalancer.server.port=8080
- traefik.http.routers.frontend-http.entrypoints=web
- traefik.http.routers.frontend-http.rule=HostRegexp(`{any:.+}`)
proxy: proxy:
image: traefik:2.5 image: traefik:2.5
command: command: