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

95 Commits

Author SHA1 Message Date
pratikbalar
7f26399ebc refactor: Change function name, wide support 2021-06-21 23:02:00 +05:30
pratikbalar
3d67150229 refactor: add function for redis
- Style it as per google shell  developing guide
2021-06-21 22:56:05 +05:30
Pratik
4ce63ced9a
refactor: short bash flags insted of verbose style
Co-authored-by: Chinmay Pai <chinmaydpai@gmail.com>
2021-06-21 22:32:37 +05:30
Pratik
c19158cd76
refactor: remove exports, add bash flags healthchecks
Add bash flags and removed 
- errexit - better for fast fail of healthchecks
- allexport - export vars by default
- nolog - not to add in history (optional)
2021-06-21 18:19:46 +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
d37a1455b7 feat(frappe-worker): option to set gevent as gunicorn worker-class 2021-03-20 13:57:53 +05:30
Chinmay D. Pai
3cf41a18f7
fix: add try-except block for importing new_site
maintain compatibility across frappe versions.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2021-03-01 00:47:00 +05:30
Chinmay D. Pai
d2450ef742
fix: change import path for new_site command
`_new_site` has been moved to `installer.py` in frappe/frappe#12447

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2021-02-28 21:26:41 +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
6204941a5d feat(frappe-nginx): configurable nginx http timeout 2021-01-04 18:30:24 +05:30
everyx
39aff8627b fix: install app failed when APP_NAME is not same as the one contained in APP_REPO 2020-11-24 19:23:54 +08:00
everyx
fc36666d27 fix: make new command compatible with MySQL 8 2020-11-24 15:38:28 +08:00
Revant Nandgaonkar
ab9fe75f6d fix: query to set db creds after new site creation 2020-10-29 10:38:51 +05:30
Revant Nandgaonkar
a3504f2668
Revert "feat(frappe-worker): update user query for mariadb galera" 2020-10-28 20:50:42 +05:30
Revant Nandgaonkar
0d6d368023 feat(frappe-worker): update user query for mariadb galera
mariadb helm chart doesn't allow root@% to ALTER mysql.user
2020-10-14 22:35:34 +05:30
sahil28297
8e541e46e3 fix: do not consider directory objects 2020-10-06 20:47:56 +05:30
Revant Nandgaonkar
b72de20f96 fix: health check
allow redis databases in healthcheck
2020-10-06 14:43:36 +05:30
sahil28297
94a37d68e3 feat: add drop site command to worker 2020-10-01 15:19:23 +05:30
sahil28297
d6057e3f18
fix: use db_root_username 2020-09-29 18:51:20 +05:30
sahil28297
1bd9615c1e
fix: use postgres_root_password for db auth in postgress database 2020-09-29 18:12:41 +05:30
Revant Nandgaonkar
e603371984 fix(frappe-worker): set absolute path of common_site_config.json in healthcheck.sh 2020-09-16 14:20:10 +05:30
Revant Nandgaonkar
c43e973481 fix(frappe-worker): install wait-for-it deb package 2020-09-16 05:06:07 +05:30
Revant Nandgaonkar
a4c814f994 fix: health check
use shell script instead of python
2020-09-15 23:18:28 +05:30
Revant Nandgaonkar
e9080d3952 fix: accept args for bench commands 2020-08-30 00:06:56 +05:30
Revant Nandgaonkar
8cfd762c61 feat: frappe commands
execute frappe commands with bench
2020-08-13 13:48:46 +05:30
Revant Nandgaonkar
bd157c6de9 Revert "chore: change public files slug for restore-backup"
This reverts commit dcf0c0f8b1.
2020-08-07 16:02:45 +05:30
Revant Nandgaonkar
1c74ac2e0b Revert "chore: change public file slug in push-backup"
This reverts commit 9dff8f2561.
2020-08-07 16:02:15 +05:30
Chinmay D. Pai
dcf0c0f8b1
chore: change public files slug for restore-backup
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-08-07 12:47:20 +05:30
Chinmay D. Pai
9dff8f2561
chore: change public file slug in push-backup
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-08-07 12:21:15 +05:30
Revant Nandgaonkar
0d9aa27f5f fix: symlink to node_modules 2020-08-06 15:18:32 +05:30
Revant Nandgaonkar
6b94d991e2 fix: add nodejs via nvm 2020-08-05 21:40:37 +05:30
peter
a956388a1a fix: grant privileges for rds when restoring backup 2020-08-04 11:11:58 +01:00
Revant Nandgaonkar
c2a0e4f057 fix: condition for grants for aws rds 2020-07-16 06:08:24 +05:30
Revant Nandgaonkar
c2ebdfcf8b fix: condition for mariadb grants for aws rds 2020-07-16 06:06:48 +05:30
Revant Nandgaonkar
9a22832389 fix: mariadb grants for aws rds 2020-07-15 21:28:52 +05:30
Revant Nandgaonkar
84fefb2283 refactor: add utils and constants 2020-07-10 23:15:36 +05:30
Revant Nandgaonkar
36f150bd95 fix: mysql restore db command with subprocess 2020-07-10 19:45:28 +05:30
Revant Nandgaonkar
21e2b13955 fix: mysql db commands with subprocess 2020-07-10 19:39:00 +05:30
Revant Nandgaonkar
4598cb24f4 fix: file input with subprocess 2020-07-10 16:18:25 +05:30
Revant Nandgaonkar
31ff697835 fix: mysql command with subprocess 2020-07-10 15:42:36 +05:30
Revant Nandgaonkar
fa2aff47df fix: psql command with subprocess 2020-07-10 15:04:29 +05:30
Chinmay D. Pai
bafa7f6598
fix: remove quotes from psql db restore
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-07-10 10:27:36 +05:30
Chinmay D. Pai
1d9dd966b1
fix: pipe uncompressed database to file
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-07-10 10:07:22 +05:30
Chinmay D. Pai
c67fc02452
fix: make changes to psql restore
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-07-09 22:57:12 +05:30
Chinmay D. Pai
5c57334bb6
fix: move run_command to utils
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-07-09 17:27:54 +05:30
Chinmay D. Pai
2b2a57a85d
fix: use subprocess instead of os to run commands
* add a wrapper method run_command
* remove os.system calls
* use f-strings for commands

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-07-09 17:01:50 +05:30
Revant Nandgaonkar
251d6590cf fix: nginx config
use $scheme://$http_host instead of $http_referer
fixes socketio
2020-07-06 14:44:52 +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