2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-25 03:16:02 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
Lev Vereshchagin
be7c6254f8 chore(lint): Run codespell 2021-12-10 11:54:51 +03:00
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
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
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
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
Lev
9d41a6d24e Fix Python version for v12 2021-11-06 21:26:15 +03:00
Lev
c808ad1767 chore: Move files from build/common 2021-11-05 20:00:11 +03:00
Lev
a4c115f96d build: Update Python from 3.7 to 3.9; Debian from 10 to 11 2021-11-03 16:48:01 +03:00
Peter Dave Hello
428b8abffe Make sure apt lists cleaned up in Dockerfile 2021-08-10 19:16:46 +08:00
pratikbalar
12eb5c92e4 refactor: bash scripts [stip travis]
- shellchecke and shfmt checked and formatted
- indentation 2 spaces
- redirect errors to stderr
- short if where possible
- add function string to clarify visuaally identify its a funtion
- make [ ... ] to [[ ... ]]
- use == for comparision
- use cat based notes
- remove unecessary spaces
- double quotes where needed
2021-06-23 09:13:24 +05:30
Revant Nandgaonkar
b3ac8383fe fix(frappe-nginx): sync assets path for all versions 2021-05-21 18:11:00 +05:30
Revant Nandgaonkar
c6da8a1d98 feat: improve and upgrade build
use nodejs v14
allow build args to pass repo and branch
2021-05-21 14:30:55 +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
10f67b3155
Merge pull request #422 from cortopy/rootless
Rootless containers by default
2021-02-21 07:32:37 +05:30
Juan Jimenez-Anca
47dcb5f2b1 rootless containers 2021-02-20 10:54:01 +00:00
Steven 'Xaroth' Noorbergen
c2b63661be Change: Allow for configuring the realip module for nginx to pass the proper IP/Scheme to frappe. 2021-02-17 12:25:41 +01:00
Revant Nandgaonkar
136cf5c338 fix(frappe-nginx): make directory before copying assets 2021-02-03 11:22:52 +05:30
Revant Nandgaonkar
c90783d6be feat: make images arm64 compatible 2021-01-08 17:45:22 +05:30
Revant Nandgaonkar
77b9eda567
Revert "feat: make images arm64 compatible" 2021-01-07 19:44:40 +05:30
Revant Nandgaonkar
8d2c139fc6 ci: use docker buildx in travis 2021-01-07 19:37:46 +05:30
Revant Nandgaonkar
4f904fe3b9 feat: make images arm64 compatible 2021-01-05 14:47:01 +05:30
Revant Nandgaonkar
062eea917a update: nodejs lts to latest minor and patch version 2021-01-04 18:54:11 +05:30
Revant Nandgaonkar
6204941a5d feat(frappe-nginx): configurable nginx http timeout 2021-01-04 18:30:24 +05:30
Revant Nandgaonkar
06b17048d3 fix(frappe-nginx): node-sass is part of prod dependencies 2020-10-02 06:11:46 +05:30
Revant Nandgaonkar
a3bdc3c8f9 fix: remove nunjucks from nginx image preparation 2020-08-07 15:28:15 +05:30
Revant Nandgaonkar
7c293d7f9e fix: use same python and nginx image 2020-08-06 22:38:52 +05:30
Revant Nandgaonkar
a7cd40a2b7 fix: add node-sass to nodejs dependencies after prod install 2020-08-06 19:30:27 +05:30
Revant Nandgaonkar
a69853e950 fix: add nunjucks to nodejs devDependencies 2020-08-06 14:26:05 +05:30
Revant Nandgaonkar
6c3ccd12fa fix: add node-sass to nodejs dependencies 2020-08-06 14:24:22 +05:30
Revant Nandgaonkar
6b94d991e2 fix: add nodejs via nvm 2020-08-05 21:40:37 +05:30
Sun Howwrongbum
e513b9c8ce feat: touch .build 2020-07-13 23:12:29 +05:30
Revant Nandgaonkar
7106124a07 refactor: reuse Dockerfile(s) 2020-06-27 23:44:13 +05:30
Revant Nandgaonkar
05cb6a4596 build v13-beta images 2020-05-02 00:21:56 +05:30
Revant Nandgaonkar
7599252a62 revert(frappe-nginx): revert v12.Dockerfile
standard_style.css generation not required for v12
2020-04-23 21:56:52 +05:30
Revant Nandgaonkar
4f411104f3 fix(frappe-nginx): Generate Standard Style CSS
use nunjucks to render jinja2 template
generate default theme
2020-04-23 14:56:46 +05:30
Revant Nandgaonkar
529c23866f fix(frappe-nginx): fix connection message 2020-04-21 14:59:06 +05:30
Revant Nandgaonkar
f1393c3a94 fix(frappe-nginx): fix missing /rsync
fixes #160
2020-03-20 05:21:30 +05:30
Davide Bortolami
1e9cdacf1a Reduce layers 2020-03-09 23:37:25 +00:00
Davide Bortolami
b36513f8fd fix image build fail 2020-03-09 13:29:58 +00:00
Davide Bortolami
d46c97f64a Enumerate node packages 2020-03-08 16:24:07 +00:00
chabad360
1c513f9e41 Merge remote-tracking branch 'upstream/develop' into install_app 2020-03-06 06:21:07 +00:00
Revant Nandgaonkar
6782decfc6 fix: resolve travis yml conflicts
use travis.py
2020-03-05 12:05:32 +05:30
Davide Bortolami
6f7a9b92ac Refactor renaming erpnext-assets and frappe-assets to erpnext-nginx and frappe-nginx 2020-03-03 23:40:11 +00:00