mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
- compose.local-origin.yaml: patch nginx to forward Host: $http_host (not
websocket:9000) in /socket.io block so authenticate.js host==origin check passes
- compose.picking-dev.yaml: add PYTHONPATH=/home/frappe/frappe-bench/apps/picking_app
to all services so picking_app is importable without pip install in dev mode
- images/custom/Containerfile: fix Frappe bug — add missing return after
next(new Error("Invalid namespace")) in socket.io authenticate middleware
- Makefile: recreate-frontend target; sync-assets clears cache before copy and
uses --force-recreate instead of restart; dev-up force-recreates frontend to
flush stale backend IPs from nginx cache
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
980 B
YAML
30 lines
980 B
YAML
services:
|
|
backend:
|
|
volumes:
|
|
- /home/mkr/picking_app:/home/frappe/frappe-bench/apps/picking_app/picking_app:ro
|
|
environment:
|
|
- PYTHONPATH=/home/frappe/frappe-bench/apps/picking_app
|
|
|
|
websocket:
|
|
volumes:
|
|
- /home/mkr/picking_app:/home/frappe/frappe-bench/apps/picking_app/picking_app:ro
|
|
environment:
|
|
- PYTHONPATH=/home/frappe/frappe-bench/apps/picking_app
|
|
|
|
queue-short:
|
|
volumes:
|
|
- /home/mkr/picking_app:/home/frappe/frappe-bench/apps/picking_app/picking_app:ro
|
|
environment:
|
|
- PYTHONPATH=/home/frappe/frappe-bench/apps/picking_app
|
|
|
|
queue-long:
|
|
volumes:
|
|
- /home/mkr/picking_app:/home/frappe/frappe-bench/apps/picking_app/picking_app:ro
|
|
environment:
|
|
- PYTHONPATH=/home/frappe/frappe-bench/apps/picking_app
|
|
|
|
scheduler:
|
|
volumes:
|
|
- /home/mkr/picking_app:/home/frappe/frappe-bench/apps/picking_app/picking_app:ro
|
|
environment:
|
|
- PYTHONPATH=/home/frappe/frappe-bench/apps/picking_app
|