2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-10 17:24:43 +00:00

fix: pwd socketio hostname

[skip travis]
This commit is contained in:
Revant Nandgaonkar 2020-07-07 12:18:06 +05:30
parent 2344cab38a
commit 29e727491b

View File

@ -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