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

2024 docker fix #1400

Merged
merged 11 commits into from
Jun 23, 2024
Merged

2024 docker fix #1400

merged 11 commits into from
Jun 23, 2024

Conversation

karbassi
Copy link
Member

@karbassi karbassi commented Jun 23, 2024

  • Update docker-compose.yml for healthcheck and restart options
  • Update poetry from 1.4.1 to 1.8.3
  • Fix django-allauth version to 0.63.3 and add socialaccount extras
  • Fix django_recaptcha dependency and imports
  • Update vscode settings for python code actions
  • Update Python version to 3.11 in Dockerfile and pyproject.toml
  • Update PostgreSQL image version to 16-alpine
  • Update fixtures to have session start dates to 2025
  • Update README with up-to-date commands

This commit updates the docker-compose.yml file to add healthcheck and restart options for the db service. The healthcheck ensures that the PostgreSQL database is ready before starting the app service. The restart option is set to true to automatically restart the db service if it fails.
This commit updates the pyproject.toml file to set the package-mode to
false. It also updates the app.json file to change the value of the
POETRY_VERSION environment variable from 1.4.1 to 1.8.3. Additionally,
it updates the Dockerfile to set the value of the POETRY_VERSION
environment variable to 1.8.3.
…xtras

The commit updates the django-allauth dependency from version 0.62.1 to
0.63.3. It also adds the "socialaccount" extras to the django-allauth
package.
This commit updates the django_recaptcha dependency and replaces the old
imports with the new ones. The ReCaptchaField and ReCaptchaV3 classes
are now imported from the django_recaptcha package instead of the
captcha package.
This commit updates the vscode settings for Python code actions. The
"source.organizeImports" and "source.fixAll" options are changed from
boolean values to "explicit" to ensure explicit control over the code
actions.
This commit removes the "sendgrid" addon from the app.json file. The
"sendgrid" addon is no longer needed for the project.
@karbassi karbassi temporarily deployed to website-2024-docker-fix-hc2v08 June 23, 2024 02:57 Inactive
This commit updates the Python version in the Dockerfile and
pyproject.toml files from 3.11.3 to ^3.11. This ensures compatibility
with the latest Python 3.11.x releases.
@karbassi karbassi had a problem deploying to website-2024-docker-fix-hc2v08 June 23, 2024 03:29 Failure
@karbassi karbassi temporarily deployed to website-2024-docker-fix-hc2v08 June 23, 2024 03:42 Inactive
@karbassi karbassi temporarily deployed to website-2024-docker-fix-hc2v08 June 23, 2024 03:51 Inactive
This commit updates the start dates of the sessions in the
`fixtures/14-coderdojochi.session.json` file to the year 2025. The
previous start dates were set to 2023. This change ensures that the
session data is up to date and reflects the correct start dates for the
sessions.
@karbassi karbassi temporarily deployed to website-2024-docker-fix-hc2v08 June 23, 2024 03:54 Inactive
@karbassi karbassi temporarily deployed to website-2024-docker-fix-hc2v08 June 23, 2024 04:08 Inactive
@karbassi karbassi merged commit 6ca1ca4 into main Jun 23, 2024
2 checks passed
@karbassi karbassi deleted the 2024-docker-fix branch June 23, 2024 04:11
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.

1 participant