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

Caddy v2 #1205

Merged
merged 3 commits into from
Jun 28, 2020
Merged

Caddy v2 #1205

merged 3 commits into from
Jun 28, 2020

Conversation

damienallen
Copy link
Contributor

@damienallen damienallen commented Jun 20, 2020

Fixes #36

Here's the caddy v2 setup. I tried to match the existing configuration as much as possible.


However, I got caught up for a while on two different issues that we blocking (even for the unmodified master branch) and slowed me down quite a lot:

  1. My poetry environment was unable to find "typing_extensions" in server/apps/main/models.py:5 unless I specifically added the dependency. However, it looks like final and Final will be included in the Python 3.8 standard library so I assume it will be a non-issue after moving to 3.8.

  2. Both the django-media and django-static volumes were mounted as root:root with 755 permissions inside the web container, thus collectstatic would throw a permission errors. I think it was related to this issue.

I changed pyproject.toml and ./docker/django/Dockerfile to fix these but I could be missing something...

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

LGTM!

Can you please rebase your PR? CI is fixed now.

@sobolevn sobolevn merged commit a56230a into wemake-services:master Jun 28, 2020
@sobolevn
Copy link
Member

Awesome! Thanks!

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.

Consider traefik as a replacement to Caddy
2 participants