2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-09-20 11:09:01 +00:00
Commit Graph

245 Commits

Author SHA1 Message Date
Lev Vereshchagin
ad45a5268e Use nginxinc/nginx-unprivileged instead of nginx image
Also use Ngnix 1.20 instead of unstable 1.21
2021-12-20 10:42:35 +03:00
Lev Vereshchagin
6f9834915b Don't log requests in worker image (nginx already does that) 2021-12-17 15:16:01 +03:00
Lev Vereshchagin
e9a490358c Rename bench targets 2021-12-17 11:53:09 +03:00
Lev Vereshchagin
d15ef8d4e4 Use jq for parsing config in healthcheck 2021-12-17 11:25:46 +03:00
Lev Vereshchagin
fc0ee586b1 Add custom app example 2021-12-16 22:34:11 +03:00
Lev Vereshchagin
e6d80db704 Remove VOLUME declaration
https://stackoverflow.com/a/55052682
2021-12-16 21:42:39 +03:00
Lev Vereshchagin
36f58c5937 Clean up nginx dockerfile 2021-12-16 21:41:31 +03:00
Lev Vereshchagin
a992ab497a Use Python for configurator service: faster and more robust 2021-12-15 13:37:06 +03:00
Lev Vereshchagin
9ab2547623 Add configurator service to dynamically set common config 2021-12-15 12:41:35 +03:00
Lev Vereshchagin
dd36984156 Add 502 error page 2021-12-15 12:01:02 +03:00
Lev Vereshchagin
6dc92c2d1a Install Node in worker image 2021-12-15 11:50:46 +03:00
Lev Vereshchagin
9ae5a1f7bb Optimize worker build 2021-12-15 10:32:10 +03:00
Lev Vereshchagin
789098f42a Remove unused todo 2021-12-15 10:06:49 +03:00
Lev Vereshchagin
790968e799 Reorder stages in nginx image, improve perfomance 2021-12-15 10:06:44 +03:00
Lev Vereshchagin
03a9e54afd Fix spaces in socketio 2021-12-15 10:00:54 +03:00
Lev Vereshchagin
7e5b509709 Fix type annotations for v12 2021-12-15 09:15:34 +03:00
Lev Vereshchagin
37878f4342 Add push-backup 2021-12-15 08:30:00 +03:00
Lev Vereshchagin
0d873981f6 Remove frappe- prefix in build directories 2021-12-14 15:33:37 +03:00
Lev Vereshchagin
bbbdf3d540 Fix develop frappe-nginx build on linux/arm64 2021-12-13 19:27:56 +03:00
Lev Vereshchagin
11e276b0e9 Update frappe-socketio 2021-12-13 19:26:45 +03:00
Lev Vereshchagin
3f65e95127 Remove old erpnext images 2021-12-13 19:26:03 +03:00
Lev Vereshchagin
b62b3758a7 Update frappe-nginx, erpnext-nginx 2021-12-13 19:25:40 +03:00
Lev Vereshchagin
b0b176c144 Update frappe-worker 2021-12-13 19:24:15 +03:00
Lev Vereshchagin
be7c6254f8 chore(lint): Run codespell 2021-12-10 11:54:51 +03:00
Lev Vereshchagin
8b4dfce4f0 chore(lint): Run isort 2021-12-10 11:53:00 +03:00
Lev Vereshchagin
f8b7b7af05 chore(lint): Run black 2021-12-10 11:52:40 +03:00
Lev Vereshchagin
c4772bc5b5 chore(lint): Run pyupgrade 2021-12-10 11:51:47 +03:00
Lev Vereshchagin
3e4e66769b chore(lint): Run end-of-file-fixer 2021-12-10 11:51:11 +03:00
Lev Vereshchagin
9f0d602c72 chore(lint): Fix trailing-whitespace 2021-12-10 11:50:39 +03:00
Lev
6378473c43
fix(bench): Set BENCH_DEVELOPER env var in bashrc instead of Dockerfile (#598) 2021-12-05 16:45:50 +05:30
Lev
9b49391dbb
feat(bench): Don't show editable-bench warnings (#593) 2021-12-02 20:36:07 +05:30
Revant Nandgaonkar
0af1302485
fix: install py 3.7 using pyenv (#590)
* fix: install py 3.7 using pyenv

* fix: set pyenv global versions

* refactor: cleaup code
2021-11-30 16:03:01 +05:30
Revant Nandgaonkar
3295c8070e fix: change unpriviliged nginx port from 80 to 8080 2021-11-21 16:23:32 +05:30
Revant Nandgaonkar
9bfb3abde4 ci: fix erpnext nginx build permissions 2021-11-19 22:02:50 +05:30
Revant Nandgaonkar
593dfe444a ci: fix erpnext build 2021-11-19 20:41:23 +05:30
Chinmay Pai
abe6d670c4
Merge pull request #570 from revant/unprivileged-nginx 2021-11-19 09:05:57 +05:30
Revant Nandgaonkar
c04edf8b6b fix(frappe-nginx): install python2 for v12 builds 2021-11-18 23:55:02 +05:30
Revant Nandgaonkar
8634460315 fix(frappe-nginx): create /assets dir 2021-11-18 22:48:22 +05:30
Revant Nandgaonkar
ef31d8e025 feat(frappe-nginx): use nginxinc/nginx-unprivileged image 2021-11-18 22:23:54 +05:30
Meradoch
2fa61e9868 Proposed changes to fix permission errors with mkdir 2021-11-18 18:40:30 +03:00
Meradoch
ccc3fc2707
Fix permission denied error 2021-11-18 14:58:25 +03:00
Lev
2c97ffd579
fix: ERPNext build (#558)
* fix(erpnext-nginx): Install recommended apt packages, set DEBIAN_FRONTEND=noninteractive

* Revert "fix(erpnext-nginx): Install recommended apt packages, set DEBIAN_FRONTEND=noninteractive"

This reverts commit 652481175d.

* fix(erpnext-worker): Install gcc
2021-11-10 11:24:47 +03:00
Lev
7c157aa487
refactor: Dockerfiles (#555)
* refactor(frappe-worker): Dockerfile

* fix(frappe-worker): Cloning frappe repo

* refactor(frappe-nginx): Dockerfile

* refactor(erpnext-nginx): Dockerfile

* chore(frappe-worker): Add space in Dockerfile

* refactor(bench): Dockerfile

* refactor(frappe-socketio): Dockerfile

* ci(Test): Add `workflow_dispatch` trigger

* fix(bench): Uncomment missing package

* fix(bench): Replace legacy `libmariadbclient-dev` with `libmariadb-dev`

* refactor(erpnext-nginx): Install script

- Remove repetitive code
- Don't explicitly install production deps (they are installed via plain `yarn` with dev deps)
- Don't write to lockfiles

* fix(erpnext-nginx): use -e flag, fix installation

* fix(erpnext-nginx): Don't install unused wget

* fix(frappe-nginx): Get newest certificates

* fix: Install ca-certificates on erpnext-nginx instead of frappe-nginx

* trigger ci

* ci(test): Fix trigger duplicate

* chore: Fix linting
2021-11-10 04:43:46 +05:30
Lev
5a38d66a70 chore: Fix linting 2021-11-09 16:54:02 +03:00
Lev
a2db23e68e fix(frappe-worker): Drop flags 2021-11-09 16:49:40 +03:00
Lev
5254e2aad3
fix: Improve CI, fix builds (#554)
* ci(Test): Add `workflow_dispatch` trigger

* ci(Test): Build and run on push and pr

* test: Set failfast, remove ERPNext reference

* test: Reveal .env file for logs

* ci(Test): Rename step

* ci(Test): Fix git tag

* test: Add -x flag for debugging

* test: Fix failing test

* ci(Test): Check if built images are used

* ci(Test): Configure trigger paths, don't build on schedule

* test: Remove bug

* ci: Build and test stable images on PR

* fix(frappe-nginx): Get back to `ls` from `find`

* check if test passes with erpnext images

* fix(frappe-worker): Default sites in backup command

* get integration test changes back

* chore: Fix linting
2021-11-09 15:15:33 +03:00
Lev
f74f730b5e
chore: Fix lint issues (#553)
* ci(Lint): Temporarily disable branch contraint

* chore(erpnext-nginx): Fix linting

* chore: Fix linting issues

* ci(Lint): Add -x flag

* ci(Lint): Fix push trigger

* chore: Fix linting and formatting

* fix: Gunicorn server start

* chore(frappe-worker): Fix linting

* chore(frappe-nginx): Fix linting

* fix(erpnext-nginx): App installation

* fix(erpnext-nginx): App installation

* refactor(frappe-nginx): Use `find` instead of `ls`
2021-11-09 13:05:29 +03:00
Revant Nandgaonkar
358293afc9
Merge pull request #549 from vrslev/refactor-worker-commands
refactor(frappe-worker): Replace basic commands with bench
2021-11-09 04:12:58 +05:30
Lev
e4df6e5aec refactor(worker): Replace basic commands with bench 2021-11-08 16:10:26 +03:00
Lev
457ecc513b fix(frappe-socketio): Remove dead doctor command 2021-11-08 14:51:21 +03:00