Skip to content

Commit

Permalink
feat: update pytition
Browse files Browse the repository at this point in the history
  • Loading branch information
johackim committed Jun 12, 2024
1 parent 0a751ad commit f828b76
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions stacks/pytition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: '3.8'

services:
web:
image: ethibox/pytition:${VERSION:-2.6}
image: ethibox/pytition:${VERSION:-latest}
command:
- /bin/sh
- -c
Expand All @@ -25,10 +25,10 @@ services:
echo 'EMAIL_HOST_PASSWORD="'$$EMAIL_HOST_PASSWORD'"' >> /config/docker_config.py
echo 'EMAIL_USE_TLS='$$EMAIL_USE_TLS'' >> /config/docker_config.py
echo 'DEFAULT_FROM_EMAIL="'$$DEFAULT_FROM_EMAIL'"' >> /config/docker_config.py
python3 /code/pytition/manage.py migrate
python3 /code/pytition/manage.py collectstatic
python3 /code/pytition/manage.py compilemessages
python pytition/manage.py runserver 0.0.0.0:8000
pdm run python pytition/manage.py migrate
pdm run python pytition/manage.py collectstatic
pdm run python pytition/manage.py compilemessages
pdm run python pytition/manage.py runserver 0.0.0.0:8000
environment:
- EMAIL_HOST=${SMTP_HOST}
- EMAIL_PORT=${SMTP_PORT:-587}
Expand Down

0 comments on commit f828b76

Please sign in to comment.