mirror of
https://github.com/odoocker/odoocker
synced 2025-11-04 15:19:22 +01:00
changed /longpolling url to /websocket and longpolling_port to gevent_port
This commit is contained in:
@@ -6,7 +6,7 @@ APP_ENV=local
|
|||||||
INIT=
|
INIT=
|
||||||
UPDATE=
|
UPDATE=
|
||||||
LOAD=base,web
|
LOAD=base,web
|
||||||
WORKERS=0
|
WORKERS=2
|
||||||
DEV_MODE=reload,qweb
|
DEV_MODE=reload,qweb
|
||||||
DOMAIN=erp.odoocker.test
|
DOMAIN=erp.odoocker.test
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ PROJECT_NAME=odoocker
|
|||||||
SUPPORT_EMAIL=mail@example.com
|
SUPPORT_EMAIL=mail@example.com
|
||||||
|
|
||||||
# Containers' Tags
|
# Containers' Tags
|
||||||
ODOO_TAG=15.0
|
ODOO_TAG=16.0
|
||||||
POSTGRES_TAG=15.4
|
POSTGRES_TAG=15.4
|
||||||
NGINX_TAG=1.25.2
|
NGINX_TAG=1.25.2
|
||||||
NGINX_PROXY_TAG=1.3.1
|
NGINX_PROXY_TAG=1.3.1
|
||||||
@@ -113,7 +113,7 @@ DEBUG_INTERFACE=${HTTP_INTERFACE}
|
|||||||
HTTP_PORT=8069
|
HTTP_PORT=8069
|
||||||
DEBUG_PORT=8070
|
DEBUG_PORT=8070
|
||||||
XMLRPCS_PORT=8071
|
XMLRPCS_PORT=8071
|
||||||
LONGPOLLING_PORT=8072
|
GEVENT_PORT=8072
|
||||||
HTTP_ENABLE=True
|
HTTP_ENABLE=True
|
||||||
XMLRPCS=True
|
XMLRPCS=True
|
||||||
PROXY_MODE=True
|
PROXY_MODE=True
|
||||||
|
|||||||
@@ -47,11 +47,11 @@ server {
|
|||||||
proxy_pass http://odoo:8069;
|
proxy_pass http://odoo:8069;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /longpolling {
|
location /websocket {
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
proxy_pass http://odoo:8072;
|
proxy_pass http://odoo:8072;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,8 +64,9 @@ xmlrpcs_interface = {XMLRPCS_INTERFACE}
|
|||||||
; --xmlrpcs-port
|
; --xmlrpcs-port
|
||||||
xmlrpcs_port = {XMLRPCS_PORT}
|
xmlrpcs_port = {XMLRPCS_PORT}
|
||||||
|
|
||||||
; --longpolling_port
|
; --gevent-port | --longpolling_port (deprecated)
|
||||||
longpolling_port = {LONGPOLLING_PORT}
|
gevent_port = {GEVENT_PORT}
|
||||||
|
longpolling_port = False
|
||||||
|
|
||||||
; --no-http | --no-xmlrpc
|
; --no-http | --no-xmlrpc
|
||||||
http_enable = {HTTP_ENABLE}
|
http_enable = {HTTP_ENABLE}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ defaults=(
|
|||||||
[HTTP_PORT]=${HTTP_PORT}
|
[HTTP_PORT]=${HTTP_PORT}
|
||||||
[XMLRPCS_INTERFACE]=${XMLRPCS_INTERFACE}
|
[XMLRPCS_INTERFACE]=${XMLRPCS_INTERFACE}
|
||||||
[XMLRPCS_PORT]=${XMLRPCS_PORT}
|
[XMLRPCS_PORT]=${XMLRPCS_PORT}
|
||||||
[LONGPOLLING_PORT]=${LONGPOLLING_PORT}
|
[GEVENT_PORT]=${GEVENT_PORT}
|
||||||
[HTTP_ENABLE]=${HTTP_ENABLE}
|
[HTTP_ENABLE]=${HTTP_ENABLE}
|
||||||
[XMLRPCS]=${XMLRPCS}
|
[XMLRPCS]=${XMLRPCS}
|
||||||
[PROXY_MODE]=${PROXY_MODE}
|
[PROXY_MODE]=${PROXY_MODE}
|
||||||
@@ -170,8 +170,9 @@ xmlrpcs_interface = {XMLRPCS_INTERFACE}
|
|||||||
; --xmlrpcs-port
|
; --xmlrpcs-port
|
||||||
xmlrpcs_port = {XMLRPCS_PORT}
|
xmlrpcs_port = {XMLRPCS_PORT}
|
||||||
|
|
||||||
; --longpolling_port
|
; --gevent-port | --longpolling_port (deprecated)
|
||||||
longpolling_port = {LONGPOLLING_PORT}
|
gevent_port = {GEVENT_PORT}
|
||||||
|
longpolling_port = False
|
||||||
|
|
||||||
; --no-http | --no-xmlrpc
|
; --no-http | --no-xmlrpc
|
||||||
http_enable = {HTTP_ENABLE}
|
http_enable = {HTTP_ENABLE}
|
||||||
|
|||||||
Reference in New Issue
Block a user