Skip to content

Commit f857545

Browse files
committed
Update Django and Celery configurations to use 'pastebinir' application; change Postgres base image to version 15.
1 parent ec495e8 commit f857545

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

compose/production/django/celery/beat/start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -o pipefail
55
set -o nounset
66

77

8-
exec celery -A config.celery_app beat -l INFO
8+
exec celery -A pastebinir.celery beat -l INFO

compose/production/django/celery/worker/start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -o pipefail
55
set -o nounset
66

77

8-
exec celery -A config.celery_app worker -l INFO
8+
exec celery -A pastebinir.celery worker -l INFO

compose/production/django/start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ set -o nounset
77

88
python /app/manage.py collectstatic --noinput
99

10-
exec /usr/local/bin/gunicorn django_project.wsgi --bind 0.0.0.0:8000 --chdir=/app
10+
exec /usr/local/bin/gunicorn pastebinir.wsgi --bind 0.0.0.0:8000 --chdir=/app

compose/production/postgres/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/postgres:17.15
1+
FROM docker.io/postgres:15
22

33
COPY ./compose/production/postgres/maintenance /usr/local/bin/maintenance
44
RUN chmod +x /usr/local/bin/maintenance/*

0 commit comments

Comments
 (0)