-
-
Notifications
You must be signed in to change notification settings - Fork 255
DevSecOps overhaul #693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
DevSecOps overhaul #693
Changes from 9 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
ea4b6bd
Add Adventures to Multiple Collections
seanmorley15 7f285f2
Merge pull request #675 from seanmorley15/development
seanmorley15 6963184
Fixed frontend returning corrupt binary data
blitzdose 380fe13
Merge pull request #676 from blitzdose/main
seanmorley15 44ea7df
Merge pull request #677 from seanmorley15/development
seanmorley15 3306b79
Merge pull request #678 from seanmorley15/development
seanmorley15 cadea11
Merge pull request #680 from seanmorley15/development
seanmorley15 3c3288e
feat(devsecops): optimized runtime containers
UndyingSoul f26e20a
Merge branch 'development' into main
UndyingSoul 4e96e52
fix(adventure): enhance collection ownership validation in AdventureS…
seanmorley15 2ee4b2a
Merge branch 'seanmorley15:main' into main
UndyingSoul bc9a9a6
feat(devsecops): updated installer to utilize new docker-compose format
UndyingSoul 324506e
feat(devsecops): updated documentation to reference new configuration
UndyingSoul 9f58b98
Merge remote-tracking branch 'upstream/development'
UndyingSoul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,47 +1,46 @@ | ||
| # 🌐 Frontend | ||
| FRONTEND_PORT=8015 # Don't forget to update CSRF_TRUSTED_ORIGINS in backend and FRONTEND_URL in backend and ORIGIN in frontend if you make changes to this. | ||
| PUBLIC_SERVER_URL=http://server:8000 # PLEASE DON'T CHANGE :) - Should be the service name of the backend with port 8000, even if you change the port in the backend service. Only change if you are using a custom more complex setup. | ||
| ORIGIN=http://localhost:8015 | ||
| BODY_SIZE_LIMIT=Infinity | ||
| FRONTEND_PORT=8015 | ||
|
|
||
| # 🐘 PostgreSQL Database | ||
| PGHOST=db | ||
| POSTGRES_DB=database | ||
| POSTGRES_USER=adventure | ||
| PGHOST=db # Supposed to match the host of the postgis database | ||
| POSTGRES_DB=adventureloga | ||
| POSTGRES_USER=adventurelog | ||
| POSTGRES_PASSWORD=changeme123 | ||
|
|
||
| # 🔒 Django Backend | ||
| SECRET_KEY=changeme123 | ||
| DJANGO_ADMIN_USERNAME=admin | ||
| DJANGO_ADMIN_PASSWORD=admin | ||
| DJANGO_ADMIN_EMAIL=admin@example.com | ||
| PUBLIC_URL=http://localhost:8016 # Match the outward port, used for the creation of image urls | ||
| CSRF_TRUSTED_ORIGINS=http://localhost:8016,http://localhost:8015 | ||
| DEBUG=False | ||
| FRONTEND_URL=http://localhost:8015 # Used for email generation. This should be the url of the frontend | ||
| BACKEND_PORT=8016 | ||
| SECRET_KEY=changeme123 # Replace with the actual secret key | ||
| DJANGO_ADMIN_USERNAME=admin # Replace with the actual admin username | ||
| DJANGO_ADMIN_PASSWORD=admin # Replace with the actual admin password | ||
| DJANGO_ADMIN_EMAIL=admin@example.com # Replace with the actual admin email | ||
| BACKEND_PORT=8016 # Don't forget to update CSRF_TRUSTED_ORIGINS and PUBLIC_URL in backend, and PUBLIC_SERVER_URL in frontend if you make changes to this. | ||
| PUBLIC_URL=http://localhost:8016 # Replace with your domain where the backend is accessible publicly, used for the creation of image urls | ||
| CSRF_TRUSTED_ORIGINS=http://localhost:8016,http://localhost:8015 # Replace with your domain, if applicable | ||
| FRONTEND_URL=http://localhost:8015 # Replace with your domain where the frontend is accessible, used for email generation. | ||
| # Disabling Registration: https://adventurelog.app/docs/configuration/disable_registration.html | ||
| # DISABLE_REGISTRATION=False | ||
| # DISABLE_REGISTRATION_MESSAGE='Registration is disabled for this instance of AdventureLog.' | ||
|
|
||
| # Optional: use Google Maps integration | ||
| # https://adventurelog.app/docs/configuration/google_maps_integration.html | ||
| # GOOGLE_MAPS_API_KEY=your_google_maps_api_key | ||
|
|
||
| # Optional: disable registration | ||
| # https://adventurelog.app/docs/configuration/disable_registration.html | ||
| DISABLE_REGISTRATION=False | ||
| # DISABLE_REGISTRATION_MESSAGE=Registration is disabled for this instance of AdventureLog. | ||
|
|
||
| # Optional: Use email | ||
| # https://adventurelog.app/docs/configuration/email.html | ||
| # Integrations | ||
| ## Email: https://adventurelog.app/docs/configuration/email.html | ||
| # EMAIL_BACKEND=email | ||
| # EMAIL_HOST=smtp.gmail.com | ||
| # EMAIL_USE_TLS=True | ||
| # EMAIL_HOST=smtp.mail.com | ||
| # EMAIL_USE_TLS=False | ||
| # EMAIL_PORT=587 | ||
| # EMAIL_USE_SSL=False | ||
| # EMAIL_USE_SSL=True | ||
| # EMAIL_HOST_USER=user | ||
| # EMAIL_HOST_PASSWORD=password | ||
| # DEFAULT_FROM_EMAIL=user@example.com | ||
| # DEFAULT_FROM_EMAIL=adventurelog@example.com | ||
|
|
||
| # Optional: Use Umami for analytics | ||
| # https://adventurelog.app/docs/configuration/analytics.html | ||
| ## Google Maps: https://adventurelog.app/docs/configuration/google_maps_integration.html | ||
| # GOOGLE_MAPS_API_KEY=your_google_maps_api_key | ||
|
|
||
| ## Umami for analytics: https://adventurelog.app/docs/configuration/analytics.html | ||
| # PUBLIC_UMAMI_SRC=https://cloud.umami.is/script.js # If you are using the hosted version of Umami | ||
| # PUBLIC_UMAMI_WEBSITE_ID= | ||
| # PUBLIC_UMAMI_WEBSITE_ID= | ||
|
|
||
| # Extra configuration | ||
| DEBUG=false # Use to enable debugging | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.