2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
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
Lev Vereshchagin
fb07581595 chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
Lev Vereshchagin
3e4e66769b chore(lint): Run end-of-file-fixer 2021-12-10 11:51:11 +03:00
Revant Nandgaonkar
3295c8070e fix: change unpriviliged nginx port from 80 to 8080 2021-11-21 16:23:32 +05:30
Ibnu Sina Wardy
f5d9832ae1
fix: rename volume for creating job 2021-07-10 20:51:49 +07:00
P. Lapensee
830a84fcec
Adding INSTALL_APPS=erpnext env variable
Without this variable, erpnext will not be installed when you create a new site job.
2021-06-03 23:55:02 -04:00
Revant Nandgaonkar
ae396d2174 docs: migration command and variables
[skip travis]
2021-04-12 11:17:45 +05:30
Revant Nandgaonkar
24ba1cd551 chore: change ci script to build v13 2021-04-02 07:26:44 +05:30
Karan Sharma
147c6b3a97 feat: Add a flag to skip generating default NGINX config 2021-03-26 21:06:27 +05:30
Karan Sharma
c2ea3feae4 feat: Add Site name and Host as env variables for NGINX config template 2021-03-26 19:05:51 +05:30
Revant Nandgaonkar
261288fa8c docs: env variable gunicorn worker-class
[skip travis]
2021-03-20 15:09:08 +05:30
John Veness
106c17418d
Fix description of FRAPPE_... and ERPNEXT_VERSION 2021-02-26 20:26:45 +00:00
Steven 'Xaroth' Noorbergen
dd88985f76 Update documentation to reflect the new env vars. 2021-02-18 09:35:58 +01:00
Revant Nandgaonkar
092348d748 docs(frappe-nginx): configurable nginx http timeout
[skip travis]
2021-01-04 18:45:42 +05:30
Revant Nandgaonkar
6204941a5d feat(frappe-nginx): configurable nginx http timeout 2021-01-04 18:30:24 +05:30
Christof Schulze
761f8345d7
Update docs/single-bench.md
Co-authored-by: Revant Nandgaonkar <revant.one@gmail.com>
2020-12-31 15:29:14 +01:00
Christof Schulze
f5e388ca11 docs: single-bench: remove ambigouus remarks on workarounds for non-resolvable site names.
This fixes #395.
By removing the remarks on how to work around dns resolution problems and confusing distribution specific defaults the documentation for SITE_NAME is clarified to:
* require resolvable names
* that this is the URL/host to be entered by users into their browsers
2020-12-30 22:28:17 +01:00
ahmadRagheb
224def513c
Update custom-apps-for-production.md
install.sh not found in the folder as the description said its install_app.sh
2020-12-04 07:16:04 +02:00
Enrique Motilla
c8807c35ac
minor docker-compose syntax fix
the command "up -d" goes at the end of the line.
2020-10-01 22:01:32 -05:00
sahil28297
b25e7e48a7 [skip travis] Update site-operations.md 2020-10-01 18:12:42 +05:30
Revant Nandgaonkar
e4e702987b docs: update docs for bench helper
[skip travis]
2020-08-30 11:01:09 +05:30
Revant Nandgaonkar
d5f38efa94 docs: bench helper commands
[skip travis]
2020-08-13 15:29:10 +05:30
Hendy Irawan
7ef28a5d5f
docs: Clarify requirement of repository naming and branch naming 2020-08-09 02:59:51 +07:00
Revant Nandgaonkar
36c161d2be docs: health check
[skip travis]
2020-07-02 15:52:28 +05:30
Revant Nandgaonkar
5648e3a6c4 feat: ping additional services using doctor
handle error
docs entry for health check command
2020-07-02 13:40:23 +05:30
Revant Nandgaonkar
04f98778bb docs: frappe docker support for PostgreSQL 2020-06-30 15:27:14 +05:30
Revant Nandgaonkar
442d840319 fix: travis helm chart release 2020-06-19 21:39:28 +05:30
Revant Nandgaonkar
227a08dc8d docs: explain single-bench labels
explain environment variables set in labels
[skip travis]
2020-06-14 05:52:52 +05:30
Revant Nandgaonkar
1b942753ee feat: dynamic labels for local or production
use environment variables to set labels
[skip travis]
2020-06-14 05:45:14 +05:30
Javier López
83d42a8a32 Feat: Documentation for variables, and notes about initialization [skip
travis]
2020-06-13 11:49:32 -05:00
Javier López
028f7524b8 Feat: How to HTTP > HTTPS redirection with traefik [skip travis] 2020-06-13 11:25:05 -05:00
Revant Nandgaonkar
e06c30a0ee docs: explain SITE_NAME
[skip travis]
2020-06-13 15:47:31 +05:30
Revant Nandgaonkar
6a83a9d8cc docs: organize fix links
[skip travis]
2020-06-13 15:40:47 +05:30
Revant Nandgaonkar
38be99fc5e docs: organize docs
break down readme into multiple files
organize in docs directory
[skip travis]
2020-06-13 15:33:06 +05:30