mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
Merge pull request #302 from revant/fix-pwd-socketio
fix: pwd socketio hostname
This commit is contained in:
commit
f97c276871
1 changed files with 3 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ services:
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.erpnext-nginx.rule=HostRegexp(`{catchall:.*}`)"
|
- "traefik.http.routers.erpnext-nginx.rule=HostRegexp(`{catchall:.*}`)"
|
||||||
- "traefik.http.middlewares.erpnext-nginx.headers.customrequestheaders.Host=mysite.localhost"
|
- "traefik.http.middlewares.erpnext-nginx.headers.customrequestheaders.Host=erpnext-nginx"
|
||||||
- "traefik.http.routers.erpnext-nginx.middlewares=erpnext-nginx"
|
- "traefik.http.routers.erpnext-nginx.middlewares=erpnext-nginx"
|
||||||
- "traefik.http.routers.erpnext-nginx.entrypoints=web"
|
- "traefik.http.routers.erpnext-nginx.entrypoints=web"
|
||||||
- "traefik.http.services.erpnext-nginx.loadbalancer.server.port=80"
|
- "traefik.http.services.erpnext-nginx.loadbalancer.server.port=80"
|
||||||
|
|
@ -148,7 +148,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: none
|
condition: none
|
||||||
command: ["bash", "-c", "echo mysite.localhost > /sites/currentsite.txt"]
|
command: ["bash", "-c", "echo erpnext-nginx > /sites/currentsite.txt"]
|
||||||
volumes:
|
volumes:
|
||||||
- sites-vol:/sites:rw
|
- sites-vol:/sites:rw
|
||||||
|
|
||||||
|
|
@ -193,7 +193,7 @@ services:
|
||||||
condition: none
|
condition: none
|
||||||
command: new
|
command: new
|
||||||
environment:
|
environment:
|
||||||
- SITE_NAME=mysite.localhost
|
- SITE_NAME=erpnext-nginx
|
||||||
- DB_ROOT_USER=root
|
- DB_ROOT_USER=root
|
||||||
- MYSQL_ROOT_PASSWORD=admin
|
- MYSQL_ROOT_PASSWORD=admin
|
||||||
- ADMIN_PASSWORD=admin
|
- ADMIN_PASSWORD=admin
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue