Commit 35facd5 1 parent 69c1ba3 commit 35facd5 Copy full SHA for 35facd5
File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
DJANGO_ALGOLIA_API_KEY="None"
2
2
DJANGO_ALGOLIA_APPLICATION_ID="None"
3
- DJANGO_ALLOWED_HOSTS="localhost "
3
+ DJANGO_ALLOWED_HOSTS="* "
4
4
DJANGO_AWS_ACCESS_KEY_ID="None"
5
5
DJANGO_AWS_SECRET_ACCESS_KEY="None"
6
6
DJANGO_CONFIGURATION="Test"
Original file line number Diff line number Diff line change @@ -2,12 +2,13 @@ services:
2
2
backend :
3
3
container_name : nest-backend
4
4
image : arkid15r/owasp-nest-backend:latest
5
- command : |
5
+ command : >
6
6
bash -c "
7
7
poetry run python manage.py migrate &&
8
8
poetry run python manage.py collectstatic --noinput &&
9
- poetry run python manage.py run_slack_bot &
10
- poetry run gunicorn wsgi:application --bind 0.0.0.0:8000
9
+ poetry run gunicorn wsgi:application --bind 0.0.0.0:8000 &
10
+ poetry run python manage.py run_slack_bot;
11
+ wait
11
12
"
12
13
env_file : .env/backend
13
14
depends_on :
Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ services:
5
5
bash -c "
6
6
poetry install --no-root &&
7
7
poetry run python manage.py migrate &&
8
- poetry run python manage.py run_slack_bot &
9
- poetry run python manage.py runserver 0.0.0.0:8000
8
+ poetry run python manage.py runserver 0.0.0.0:8000 &
9
+ poetry run python manage.py run_slack_bot;
10
+ wait
10
11
"
11
12
build :
12
13
context : ./backend
You can’t perform that action at this time.
0 commit comments