2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 22:31:07 +00:00
Commit Graph

83 Commits

Author SHA1 Message Date
Trusted Computer
b2e71bb12d
Update custom-apps.md for version-15 (#1291)
Updating documentation examples to version-15
2023-12-16 09:19:26 +05:30
MohsinAli
89860467d4
fix: space (#1285) 2023-12-07 14:19:32 +05:30
Piyush
4aa07b3672
Update troubleshoot.md (#1283)
Added instructions for removal if want to start afresh
2023-12-07 10:20:39 +05:30
Bhavansathru
64cd39265b
Update development.md (#1274) 2023-11-23 14:14:04 +05:30
Bernhard Sirlinger
45200bd57f
feat: add optional mailpit configuration (#1269) 2023-11-14 03:10:15 +05:30
vama
aaae152392
Updated grammer in single-server-example.md (#1265) 2023-11-02 04:25:08 +05:30
keerthana
f2dc0e8f6a
PYENV_VERSION=3.10.12 Deprecated (#1262)
The PYENV_VERSION 3.10.12 is deprecated the new version 3.10.13 was launched. here the reference link

https://hub.docker.com/_/python
2023-10-30 20:27:31 +05:30
Revant Nandgaonkar
27361b7500
docs: set-config for redis_socketio during development (#1261) 2023-10-30 11:56:22 +05:30
Revant Nandgaonkar
2e99af1a3f
fix: new-site command (#1260)
fix command usage and docs

fixes issue#1256
2023-10-30 11:45:55 +05:30
varun-krishnamurthy
ead5438ebb
Cypress UI Test service and updates to installer.py (#1250)
* #1247 #1248 Feat: Cypress UI testing + Postgres Arg for installer

* #1247 #1248 Feat: Cypress UI testing + Postgres Arg for installer

* #1247 #1248 Feat: Cypress UI testing + Postgres Arg for installer

* #1247 #1248 Feat: Cypress UI testing + Postgres Arg for installer

* #1247 #1248 Feat: Cypress UI testing + Postgres Arg for installer

* #1247 #1248 Feat: Cypress UI testing + Postgres Arg for installer

* #1247 #1248 Feat: Cypress UI testing + Postgres Arg for installer
2023-10-26 08:35:31 +05:30
Revant Nandgaonkar
839d44d167
fix: consume default queue (#1249) 2023-10-25 10:51:30 +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
Antony-M1
258fec25d2
3.9.9 deprecated (#1216)
* Update development.md

* 3.9.9 deprecated
2023-08-25 21:32:37 +05:30
Mahmoud (Moudy) Taleb
8fa392ffff
Add cd command for clarity (#1214) 2023-08-24 14:06:05 +05:30
Chris Darby
cf499acc36
Broken link to environment variables definition fixed (#1205) 2023-08-08 09:38:36 +05:30
Rishab Manocha
29e9ccf20a
Fixed the instructions to refer to the correct filename (#1197) 2023-07-31 20:02:24 +05:30
Revant Nandgaonkar
8c670e6db7
docs: change sitename as per installer.py (#1196) 2023-07-31 05:10:23 +05:30
Revant Nandgaonkar
9429501407
docs: remove obsolete docs (#1186) 2023-07-20 13:03:03 +05:30
Revant Nandgaonkar
d5aae2097d
fix: use python for installer script (#1178) 2023-07-11 17:18:11 +05:30
Antony-M1
69fbc2ed91
Update development.md (#1168) 2023-07-06 05:30:14 +05:30
Revant Nandgaonkar
e401be4cb0
docs: update python and nodejs version (#1159)
python image 3.10.12 onwards gets built on bookworm
2023-06-26 14:05:25 +05:30
Karan Janthe
a6e1baa9b7
added guide for linux/mac to setup frappe docker (#1149)
* added guide for linux/mac to setup frappe docker

* guide added in readme

* linting done according to guidelines
2023-06-13 04:06:15 +05:30
Azwal Zaman Mohammed
8b38448d8a
docs: change command for updating sites in single server example (#1107)
The previous command added an extra variable to the env file while keeping the default so I changed the command to update it with sed instead
2023-03-23 10:46:34 +05:30
Revant Nandgaonkar
bcf41ff9f1
docs: update backup docs (#1082) 2023-02-17 13:15:49 +05:30
Revant Nandgaonkar
a580385295
fix: traefik router for acme certs (#1068)
* fix: traefik router for acme certs

* fix: set default for sites

* test: use .localhost site names
2023-02-02 13:45:06 +05:30
Mauricio Vidal
87870be936
Clarification on how to use custom image (#1062)
* Clarification on how to use custom image

* chore: fix lint

* refactor: websocket uses also customizable_image

---------

Co-authored-by: Mauricio Vidal <maovidal@users.noreply.github.com>
2023-02-01 22:12:08 +05:30
Revant Nandgaonkar
c013942d1f
fix: use docker volumes (#1067)
* fix: use docker volumes

remove bind mount
use docker volumes

* ci: remove payments app from tests
2023-01-31 09:48:52 +05:30
Revant Nandgaonkar
8dce4e5f2c
docs: fix migration steps (#1065) 2023-01-28 12:40:46 +05:30
Revant Nandgaonkar
499c1fbed4
fix: remove payments (#1063)
payments is optional dep for erpnext
2023-01-28 12:20:45 +05:30
Revant Nandgaonkar
6a3b97302c
docs: fix kaniko build-arg (#1058) 2023-01-25 17:27:43 +05:30
Revant Nandgaonkar
6a1e3f3a20
docs: backup command for cron (#1048) 2023-01-18 13:16:50 +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
Siraj Samsudeen
b0cc2bffc7
updated link to Docker Manual with screenshots (#1013)
* updated link to Docker Manual with screenshots

* added 2 images to docs/images and linked them
2022-12-20 10:46:50 +05:30
Arunkumar Ganesan
27ac6e2625
queue short added with mariadb network (#940)
Co-authored-by: ArunG <arung.sap@gmail.com>
2022-09-27 23:18:11 +05:30
Revant Nandgaonkar
a20dd916d2
update: use v14 instead of v13 (#871) 2022-08-03 12:23:32 +05:30
Pazdo
67026915dd
Fix for multiple simultaneous running stacks (#857)
* Add files via upload

* Updated networks

* Updated networks
2022-08-02 15:00:49 +05:30
Talbi Youssef
5c74ff9407
First instead of second Typo (#862) 2022-07-28 18:39:29 +05:30
Mauricio Vidal
4e63052a54
Update setup-options.md (#850)
Link correction
2022-07-15 11:31:30 +05:30
Revant Nandgaonkar
ed6efe5cf4
docs: fix port based multi tenancy (#795) 2022-05-02 14:01:36 +05:30
Revant Nandgaonkar
e362c26fc1
docs: improve and organize docs (#791)
* docs: improve and organize docs

* docs: improve setup options
2022-05-02 05:47:53 +05:30
tyt11123
700f1fafd1
Update multi-bench yaml (#767) 2022-04-10 04:00:00 +05:30
Revant Nandgaonkar
b83938c0b8
docs: remove obsolete swarm related documentation (#763) 2022-04-06 15:33:40 +05:30
PlaidDroid
a389c3a175
Fix file name (#748)
erpnext.yaml > compose.erpnext.yaml
2022-04-03 12:29:36 +05:30
Revant Nandgaonkar
1448e46a9b
docs: single server setup example (#715)
* docs: single server setup example

* docs: lint single server setup example

* docs: LAN based setup

* docs: fix traefik ssl override

* docs: move data directory to user home

* docs: remove env-file from exec commands
2022-04-03 12:26:46 +05:30
Jonas Weigand
4e1a5641c6
Update docs to advise for docker-compose v2 (#712)
This change is to inform users to use docker-compose v2. Using v1 can cause problems when parsing the final docker-compose.yaml. Mitigates #701
2022-03-19 11:03:11 +05:30
RashiqAzhan
10d2172bd8
Fix broken link in docs. (#710) 2022-03-17 16:21:10 +03:00
Lev
a9b6b755ce
Global refactoring (#617)
* Rename `bench-build` target to `bench` in bake file

* Update bake file and break everything

* Rename docker-compose.yml to compose.yml to avoid conflicting on `docker buildx bake`

* Fix groups in bake file

* Update frappe-worker

* Update frappe-nginx, erpnext-nginx

* Remove old erpnext images

* Update frappe-socketio

* Fix develop frappe-nginx build on linux/arm64

* Update dockerignore

* Update gitignore

* Update gitignore

* Update .env files

* Update installation (overrides)

* Update tests

* Fix image names

* Update compose

* Update get-latest-tags

* Update CI

* Setup and remove .env on tests

* Add build bench workflow

* Add triggers to main workflow

* Add release helm job

* Use reusable workflows

* Rollback

* Print configuration before running tests

* Show tests/.env

* Revert "Show tests/.env"

This reverts commit 4bc3bdebaf.

* Fix ci image versions

* Remove `frappe-` prefix in build directories

* Move requirements-dev.txt

* Fix image name in CI

* Update gitignore

* Update pre-commit config

* Drop `version:` in compose files

* Add push-backup

* Fix postgres CI test

* Change .yml to .yaml in compose file to follow compose-spec

* Remove prettierignore

* Fix dockerignore

* Change .yml to .yaml in compose file to follow compose-spec

* Don't depend on boto3 while testing (do it in backend)

* Update erpnext example version

* Don't fail ping on URLError

* Move assets volume to main compose file

* Fix type annotations for v12

* Fix postgres ci override in tests

* Fix spaces in socketio

* Reorder stages in nginx image, improve perfomance

* Remove unused todo

* Optimize worker build

* Install Node in worker image

* Add 502 error page

* Remove unused quiet-pull in tests

* Add configurator service to dynamically set common config

* Remove unused compose.ci-postgres.yml

* Use Python for configurator service: faster and more robust

* Add TODO.md

* Use python script to get latest tags in CI

* Clean up nginx dockerfile

* Remove VOLUME declaration

https://stackoverflow.com/a/55052682

* Add custom app example

* Remove pwd for now

* Remove pwd for now

* Use jq for parsing config in healthcheck

* Take advantage of yaml lang: add defaults in compose file. Also require env vars

* Fix CI

* Use resusable workflow

* Update

* Move release_helm job to main.yml

* Rename docker-build to docker-build-push

* Rename main to build_stable

* Rename bench targets

* Remove quotes from docker-build-push inputs

* Update build develop

* Remove HELM_DEPLOY_KEY secret from docker-build-push

* Add job names

* Remove build_bench workflow

* Update version input description in docker-build-push

* Print .env in tests, if version is develop, change to latest (for tag)

* Fix env setup

* Uncomment tests

* Parse and set short tags from git tag in bake file

* Move devcontainer settings to devcontainer.json

* Add db command notice

* Fix CI?

* Fix inconsistencies in development readme

* Remove pwd for now

* Remove custom apps for production instruction

* Update todos

* Add docs for images and compose files

* Add variables docs and allow custom frappe site name header

* Add notice about internal environment variables

* Update site-operations docs

* Update todos

* Add Overrides header in images-and-compose-files

* Update todos

* Remove extra docs

* Don't log requests in worker image (nginx already does that)

* Remove default value of FRAPPE_SITE_NAME_HEADER in example.env

* Use file that consistent in v12, v13 and develop to check /assets

* Fix paths in CI

* Update todos

* Remove TODO.md

* Update tests/_check_backup_files.py

Co-authored-by: Revant Nandgaonkar <revant.one@gmail.com>

* Change variables MINIO_ACCESS_KEY and MINIO_SECRET_KEY to S3_ACCESS_KEY, S3_SECRET_KEY in tests

* Fix S3 test

* Use `nginxinc/nginx-unprivileged` instead of `nginx` image

Also use Ngnix 1.20 instead of unstable 1.21

* Fix https override

* Update Dockerfile

* Mount assets to backend service in read only mode

* Touch .build (#307), use scripts from nginx image to generate config and touch .build

* Update example env after building stable images

* Touch `.build` on develop image (untill https://github.com/frappe/frappe/issues/15396 is resolved)

* Add `make` to worker build deps for linux/arm64

* Fix update example.env job

* Fix .build creation on develop branch

* Move bench CI to different file

This way workflow runs only on PRs that relevant to bench build

* Fix app name in custom app example

* Update erpnext and frappe versions in example.env

* Don't install `svg-sprite` and `sass` node modules in nginx image on linux/arm64 (https://github.com/frappe/frappe/pull/15275)

* docs: README and docs

* docs: add link to site operations from docker swarm

* ci: fix tests as per changes to compose.yaml

* docs: move wiki articles to docs

* docs: fix add custom domain

* docs: fix patch code from images

* fix: do not expose port 80 for old images

* fix: custom domain labels to frontend container/service

* Add missing descriptions to envs in example.env

* Fix redis depends_on

* Fix docker compose in tests when not running on TTY

* Set -T flag in `docker compose exec` only if not tty

* Run pre-commit on docs

* Remove postgres healthcheck (it gets overriden by mariadb)

* Refactor test

* Update workflow names

* Add pip to dependabot config

* docs: backup and push (#19)

* Beautify changes by @revant (#20)

* feat: add gevent to worker image

* feat: real_ip configuration for nginx

* Return `healthcheck.sh` just for tests

Co-authored-by: Lev Vereshchagin <mail@vrslev.com>

* Make pretend bench catch unknown commands (closes #666)

* Remove debug print in push-backup

* Fix typing issues in push-backup

* Update file keys in push-backups: from abs path to <site>/<file>

* Refactor push-backup

* Move gevent installation in Frappe step

* Don't pin boto stubs requirement

* Cache pip deps on build

* Update example env versions

* Refactor check backup files

* Fix backup test

* Fix backup test

* Rename build/ dir to images/

* Rename build/ dir to images/

* Fix /build -> /images in docs

* Update example.env

* Use reusable workflow in frappe user instead of vrslev

* Fix compose`s `project` option in docs (https://github.com/frappe/frappe_docker/pull/617#issuecomment-1065178792)

* Add note about project option in site-operations doc

* Update example env

* Rename build arg `USERNAME` to `REGISTRY_USER`

* Allow https proxy to access Docker socket

* Revert "Use reusable workflow in frappe user instead of vrslev"

This reverts commit 6062500d0d.

* Revert "Revert "Use reusable workflow in frappe user instead of vrslev""

This reverts commit 4680d18ff8.

Co-authored-by: Revant Nandgaonkar <revant.one@gmail.com>
2022-03-14 11:23:03 +05:30
Nicolás Bottini
18a16372b2
Update references to $ERPNEXT_VERSION (#631)
* Update references to $ERPNEXT_VERSION

Documentation is making references to an unexisting $VERSION variable. I'm updating it to $ERPNEXT_VERSION.

* Update site-operations.md to use $FRAPPE_VERSION 

Fix references to $ERPNEXT_VERSION when using frappe/frappe-worker so now it uses $FRAPPE_VERSION
2022-01-12 12:41:50 +05:30
Robproject
42bfd485f8
Change erpnext-python volumes description (#628) 2022-01-07 14:05:04 +05:30