Commit graph

17 commits

Author SHA1 Message Date
Malay Gondalia
a4ca5ac8c2
Update Containerfile by adding bench setup requirements so All dependencies for all apps are already available. No need to know the site name in advance. and no need to setup requirements after site creation manually
bench setup requirements reads all apps’ pyproject.toml / requirements.txt and installs the Python packages into the bench virtual environment.

Later, when you dynamically create sites via:
docker compose --project-name erpnext-one exec backend \
  bench new-site --mariadb-user-host-login-scope=% --db-root-password changeit \
  --install-app erpnext --admin-password changeit one.example.com

All dependencies for all apps are already available.
No need to know the site name in advance.

This is fully compatible with the single-server-example.md workflow and supports multiple sites, dynamic app installation, and custom app dependencies.
2025-09-23 14:04:47 +05:30
gp
31ed5daa68
chore: Update EOL NodeJS to 20.19.2 (#1638) 2025-05-29 17:33:28 +05:30
Revant Nandgaonkar
02e24c9d2d
build: add pkg-config deb package in build layer (#1590)
* build: add pkg-config deb package in build layer

* ci: only use tonistiigi/binfmt for image push

* revert: arm64 builds

* ci: copy build_bench to docker-build-push

* ci: set driver-opts network=host for buildx action
2025-03-15 19:07:33 +05:30
gp
9af0cfdf81
Fix: LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (#1435) 2024-07-22 13:45:50 +05:30
gp
74b2bca9bf
Fix: WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (#1426) 2024-07-04 02:49:10 +05:30
Sudhegan Shyam
3b0ffc3bb9
add build library for arm64 binaries (#1379)
* add build library for arm64 binaries

* update git ignore

* move arm64 lib to base layer
2024-04-26 04:46:07 +05:30
Dhafer Soudani
76a3d5df80
fix: add missing file package for bench restore (#1359)
Co-authored-by: dhafer <dhafer.souadni@ensi-uma.tn>
2024-03-22 11:27:00 +05:30
0xD0M1M0
961453812c
fix: Fix gpg and less (#1321)
* fix: Add gpg and less

Add gpg so backup "bench --site yoursite.com backup --with-files --compress" does not fail if encryption is enabled

Add "less": fixes #1301

* fix: Add gpg and less

Add gpg so backup "bench --site yoursite.com backup --with-files --compress" does not fail if encryption is enabled

Add "less": fixes frappe#1301

* fix: Update documentation

update documentation to resemble current status

* fix: trailing whitespace

---------

Co-authored-by: Revant Nandgaonkar <revant.one@gmail.com>
2024-01-28 11:53:14 +05:30
Revant Nandgaonkar
f605addb71
refactor: prepare for v15 (#1243)
* chore: resolve merge conflict

* ci: changes for version 15

* chore: upgrade python and nodejs

* ci: fix v15 build

* fix: add redis_socketio for backward compatibility

* ci: fix v15 build

* ci: fix test endpoint

changed to erpnext.templates.pages.search_help.get_help_results_sections
2023-10-20 18:40:10 +05:30
Revant Nandgaonkar
e6c0e7263b
ci: refactor (#1158)
* ci: refactor

use debian bookworm
use updated wkhtmltopdf
override python and nodejs versions

* ci: fix bench and test

* ci: remove comments from example.env

* docs: add maintenance section
2023-06-26 11:54:37 +05:30
Revant Nandgaonkar
98ea4212a4
fix: default config for production (#1088)
reported here https://discuss.frappe.io/t/frappe-docker-2023-production-setup-password-reset-email-link-added-with-port-8000/101844
2023-03-05 18:48:37 +05:30
Salah Aldin Fateh
1962ac2eec
Remove unnecessary WORKDIR (#1057) 2023-01-25 17:27:30 +05:30
Salah Aldin Fateh
f0d94819a3
add read perms to nginx-entrypoint (#1053)
* add read perms to nginx-entrypoint

* chore: set file permission for custom image

accepted as per suggestion from users
not required for linux runners

Co-authored-by: Revant Nandgaonkar <revant.one@gmail.com>
2023-01-21 16:48:53 +05:30
Revant Nandgaonkar
e9f28c9932
fix: set exec for nginx entrypoint (#1051)
for OS that mess up permission
2023-01-20 13:25:21 +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
455a523205
fix: add weasyprint dependencies (#1047)
* fix: add weasyprint dependencies

fixes #1045

* ci: fix trigger to test pr

* fix: add weasyprint deps to bench
2023-01-17 17:12:27 +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