mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-08 22:31:07 +00:00
1fff78ed82
Fixes #690
20 lines
535 B
YAML
20 lines
535 B
YAML
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:
|
|
image: traefik:2.5
|
|
command:
|
|
- --providers.docker
|
|
- --providers.docker.exposedbydefault=false
|
|
- --entrypoints.web.address=:80
|
|
ports:
|
|
- 80:80
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
userns_mode: host
|