Commit Graph

18 Commits

Author SHA1 Message Date
Revant Nandgaonkar 5245412ac5 fix: remove insecure /etc/passwd write permissions and parameterize bench debian_base
- Remove chmod g+w /etc/passwd and dynamic /etc/passwd entrypoint edits (handled natively by CRI-O)
- Assert /etc/passwd is not writable in integration test
- Parameterize DEBIAN_BASE in bench Dockerfile and pass to bench target in docker-bake.hcl
- Clean up comment backslashes in bench Dockerfile and correct test docstring
2026-09-21 15:35:51 +05:30
Revant Nandgaonkar 6303620ff8 fix: arbitrary uid, entrypoint user, and docs
- Register arbitrary runtime UID as 'default' in /etc/passwd to avoid duplicate 'frappe' entries
- Assert user uniqueness, /tmp writability, and test frontend container in arbitrary UID test
- Update docs and env templates for GID 0 / group-writable sites and DEBIAN_BASE
- Remove trailing backslashes on Dockerfile comments
2026-09-19 18:06:00 +05:30
Revant Nandgaonkar a31b3da69d feat(images): upgrade to debian trixie and support openshift arbitrary uid 2026-09-19 14:05:21 +05:30
dandax123 2c44349a0f feat: configure gunicorn with env variables 2026-05-18 20:19:43 +02:00
dandax123 64e6536592 fix(assets): link assets at container init 2026-04-30 13:32:25 +02:00
Daniel Radl eccae398c5
fix(nginx): set absolute_redirect off 2026-03-31 16:40:41 +02:00
Daniel Radl 8ccccdbdd5
fix: nginx redirects leak internal port 2026-03-30 12:08:46 +02:00
Rocket-Quack c40113923c refactor(nginx): include headers snippet via correct runtime path 2026-03-17 15:52:42 +01:00
Rin 57287e9cff Refactor: Move shared security headers into a snippet and include it in server and files location blocks. 2026-03-16 23:11:41 +07:00
RinZ27 904df21d43
Fix Nginx header inheritance for /files location 2026-03-11 21:43:18 +07:00
Osama Shaikh 8070e5822e
fix(nginx): use X-Forwarded-Proto for backend requests behind reverse proxy 2026-03-03 13:36:46 +05:30
Osama Shaikh 0ec329fe34
fix(nginx): forward correct proto/origin for socket.io behind proxy (#1817) 2026-03-03 06:13:45 +05:30
RocketQuack 99d9a1dc38
feat: add nginx-proxy with acme companion as an alternative to traefik (#1800)
* refactor: move core nginx files into more recognizable folder structure

* chore: include HTTPS_PUBLISH_PORT in example .env

* feat: add nginx-proxy and acme-companion compose overrides

* docs: add NGINX_PROXY_HOSTS to example.env

* docs: add nginx-proxy overrides

* docs: split docs, variables for usage of traefik or nginx-proxy

* docs: update override notes for traefik proxy on separate stack

* docs: split TLS/SSL overview and add own caddy guide

* docs: add nginx-proxy + acme companion guide

* docs: add nginx-proxy and acme single-server setup guide
2026-02-06 09:56:28 +05:30
Md Hussain Nagaria 40f07e2172
fix: pwd SocketIO Origin in nginx conf (#1552) 2025-01-24 12:36:30 +05:30
Revant Nandgaonkar dddb791c81
fix: sync nginx template from bench changes (#1242) 2023-10-20 16:30:55 +05:30
Revant Nandgaonkar 7f8d794835
fix: sync nginx template from bench changes (#1241) 2023-10-20 15:52:14 +05:30
Revant Nandgaonkar bb1e4bb341
feat: add restic (#1044)
* feat: add restic

allows incremental snapshot backups
remove custom push-backup script

* ci: remove .git dir to skip fetch_details_from_tag

fixes https://github.com/frappe/frappe_docker/actions/runs/3938883301/jobs/6738091655
2023-01-18 11:31:18 +05:30
Revant Nandgaonkar e6088af885
refactor: build only one frappe/erpnext image (#1032)
* ci: skip frappe builds

* refactor: build only one frappe/erpnext image

* fix: lint nginx entrypoint script

* docs: update and organize docs

* docs: fix lint errors

* fix(custom): pass base64 encoded apps json

* ci: update dependabot

* docs: update contributing

* docs: remove info about multi image setup

* fix: initiate empty common_site_config.json

default config has host keys set to localhost
causes connection errors

* docs: add details for pwd volumes

* fix: symlink assets instead of copy

* fix: nginx private files

* ci: skip docker compose v2 install for ubuntu-latest

* fix: organize layers

* feat: allow remove git remote for custom image

* docs: allow remove git remote for custom image

* fix: remove duplicate --apps_path
2023-01-16 04:20:09 +05:30