-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New compose and dockerfiles (WIP) * More docker refactoring * Even more docker refactoring * More docker compose changes * Fix the docker compose files * Fix the production docker configuration * Fix api pipeline migrations check --------- Co-authored-by: Tudor Amariei <[email protected]>
- Loading branch information
1 parent
d6de5e2
commit 973da95
Showing
18 changed files
with
273 additions
and
171 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ ENVIRONMENT=development | |
API_PORT=8030 | ||
SECRET_KEY=test | ||
|
||
RUN_MIGRATION=True | ||
RUN_MIGRATIONS=True | ||
RUN_COMPILE_MESSAGES=True | ||
RUN_COLLECT_STATIC=False | ||
RUN_LOAD_INITIAL_DATA=False | ||
|
@@ -14,6 +14,7 @@ DEBUG=True | |
ENABLE_DEBUG_TOOLBAR=True | ||
|
||
SITE_URL= | ||
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend | ||
EMAIL_HOST= | ||
EMAIL_PORT=25 | ||
EMAIL_HOST_USER= | ||
|
@@ -23,17 +24,19 @@ EMAIL_USE_SSL=no | |
|
||
NO_REPLY_EMAIL= | ||
DEFAULT_FROM_EMAIL= | ||
DEFAULT_RECEIVE_EMAIL= | ||
|
||
# admin | ||
[email protected] | ||
DJANGO_ADMIN_PASSWORD=a | ||
|
||
# database | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=secret | ||
POSTGRES_DB=seismic_site | ||
POSTGRES_HOST=db | ||
POSTGRES_PORT= | ||
DATABASE_ENGINE=postgresql | ||
DATABASE_USER=postgres | ||
DATABASE_PASSWORD=secret | ||
DATABASE_NAME=seismic_site | ||
DATABASE_HOST=db | ||
DATABASE_PORT=5432 | ||
|
||
# client | ||
REACT_APP_DJANGO_SITE_URL=http://localhost | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ ENVIRONMENT=production | |
API_PORT=8030 | ||
SECRET_KEY=test | ||
|
||
RUN_MIGRATION=True | ||
RUN_MIGRATIONS=True | ||
RUN_COMPILE_MESSAGES=True | ||
RUN_COLLECT_STATIC=True | ||
RUN_LOAD_INITIAL_DATA=False | ||
|
@@ -14,6 +14,7 @@ DEBUG=False | |
ENABLE_DEBUG_TOOLBAR=False | ||
|
||
SITE_URL= | ||
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend | ||
EMAIL_HOST= | ||
EMAIL_PORT=25 | ||
EMAIL_HOST_USER= | ||
|
@@ -34,14 +35,15 @@ [email protected] | |
DJANGO_ADMIN_PASSWORD=a | ||
|
||
# database | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=secret | ||
POSTGRES_DB=seismic_site | ||
POSTGRES_HOST=db | ||
POSTGRES_PORT= | ||
|
||
BACKGROUND_WORKERS=2 | ||
GUNICORN_WORKERS=2 | ||
DATABASE_ENGINE=postgresql | ||
DATABASE_USER=postgres | ||
DATABASE_PASSWORD=secret | ||
DATABASE_NAME=seismic_site | ||
DATABASE_HOST=db | ||
DATABASE_PORT=5432 | ||
|
||
BACKGROUND_WORKERS_COUNT=2 | ||
GUNICORN_WORKERS_COUNT=2 | ||
|
||
# client | ||
REACT_APP_DJANGO_SITE_URL=http://localhost | ||
|
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 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
Oops, something went wrong.