Skip to content
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

Upgrades to Django 3, Channels 2, and upgrade other packages #105

Merged
merged 11 commits into from
Sep 14, 2021

Conversation

MaxwellDPS
Copy link
Contributor

@MaxwellDPS MaxwellDPS commented Sep 12, 2021

This PR Upgrades the pip packages to Django 3, Channels 2, and upgrade other packages - REF #104

Other Changes:

  • Better Docker env config support
  • Removed Pinax Stripe (Incompatible w/ Django3)

This should resolve the major security vulns
image

entrypoint.sh Outdated
@@ -15,5 +15,5 @@ echo "daphne"
./manage.py runworker > runworker2.log 2>&1 &
./manage.py runworker > runworker3.log 2>&1 &
./manage.py runworker > runworker4.log 2>&1 &
daphne trunk_player.asgi:application --port 7055 --bind 127.0.0.1
daphne trunk_player.asgi:channel_layer --port 7055 --bind 127.0.0.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be worthwhile adding --access-log /var/log/trunk-player/daphne_main.log --ping-interval 3 --ping-timeout 12 --proxy-headers to the daphne process command-line. Primarily --proxy-headers for the nginx stuff. Same would also apply to the supervisor.conf file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, Just added and pushed that

@dreinhold dreinhold changed the base branch from master to django3 September 14, 2021 20:00
@dreinhold dreinhold merged commit ca3782a into ScanOC:django3 Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants