forked from opengisch/QFieldCloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make prod and dev more similar, config more DRY (#78)
* make prod and dev more similar, config more DRY * (+x on entrypoint) * fix test (maybe?) * fix test (maybe?) * persist caddy data * improvements as per review * fix tests (hopefully ?) * cleanup gitignore * fix bad merge ? * (add .editorconfig and fix line endings, thanks windows) * remove browse directive in caddyfile * Improve .env reading in orchestrator * Improve silk intercept fuction * Improve readme * Ignore .env and add .env.example * Update readme Co-authored-by: Mario Baranzini <[email protected]>
- Loading branch information
1 parent
be226ee
commit 4b04ac0
Showing
86 changed files
with
162 additions
and
419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
end_of_line = lf | ||
|
||
[*.py] | ||
indent_style = space | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
QFIELDCLOUD_HOST=localhost | ||
|
||
SECRET_KEY=change_me | ||
|
||
AWS_ACCESS_KEY_ID=KEY | ||
AWS_SECRET_ACCESS_KEY=KEY | ||
AWS_STORAGE_BUCKET_NAME=BUCKET_NAME | ||
AWS_S3_REGION_NAME=ch-dk-2 | ||
AWS_S3_ENDPOINT_URL=https://sos-ch-dk-2.exo.io | ||
|
||
POSTGRES_USER=qfieldcloud_db_admin | ||
POSTGRES_PASSWORD=3shJDd2r7Twwkehb | ||
POSTGRES_DB=qfieldcloud_db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
__pycache__/ | ||
/django-app/staticfiles/ | ||
/django-app/user_projects_files/ | ||
/user_projects_files/ | ||
*.log | ||
.htmlcov/ | ||
.coverage | ||
/conf/Caddyfile | ||
/conf/.env.app | ||
/conf/.env.db | ||
/conf/supervisord.conf | ||
.vscode | ||
/postgres_data/ | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.