@@ -86,6 +86,8 @@ services:
8686 ports :
8787 - 5432:5432
8888 environment :
89+ POSTGRES_DB : osf
90+ POSTGRES_HOST_AUTH_METHOD : trust
8991 POSTGRES_INITDB_SQL : |
9092 SELECT 'CREATE DATABASE gravyvalet' WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'gravyvalet')\gexec
9193 volumes :
@@ -534,13 +536,15 @@ services:
534536 command :
535537 - /bin/bash
536538 - -c
537- - pip install -r requirements/dev-requirements.txt &&
538- (python3 -m compileall /usr/local/lib/python3.12 || true) &&
539- rm -Rf /python3.12/* &&
540- cp -Rf -p /usr/local/lib/python3.12 /
539+ - python -m venv /tmp/venv
540+ && /tmp/venv/bin/pip install poetry==1.8.3 &&
541+ /tmp/venv/bin/poetry config virtualenvs.create false --local &&
542+ /tmp/venv/bin/poetry install --no-root --with dev --without release --compile --sync &&
543+ rm -rf /python3.13/* &&
544+ cp -Rf -p /usr/local/lib/python3.13 /
541545 restart : ' no'
542546 volumes :
543- - gv_requirements_vol:/python3.12
547+ - gv_requirements_vol:/python3.13
544548
545549 gv :
546550 image : quay.io/centerforopenscience/gravyvalet:develop
@@ -556,7 +560,39 @@ services:
556560 environment :
557561 DJANGO_SETTINGS_MODULE : app.settings
558562 volumes :
559- - gv_requirements_vol:/usr/local/lib/python3.12
563+ - gv_requirements_vol:/usr/local/lib/python3.13
564+ stdin_open : true
565+
566+ gv_worker :
567+ image : quay.io/centerforopenscience/gravyvalet:develop
568+ command : python -m celery --app app worker --uid daemon -l info
569+ restart : unless-stopped
570+ depends_on :
571+ - postgres
572+ - api
573+ - rabbitmq
574+ env_file :
575+ - .docker-compose.gv.env
576+ environment :
577+ DJANGO_SETTINGS_MODULE : app.settings
578+ volumes :
579+ - gv_requirements_vol:/usr/local/lib/python3.13
580+ stdin_open : true
581+
582+ gv_beat :
583+ image : quay.io/centerforopenscience/gravyvalet:develop
584+ command : python -m celery --app app beat --uid daemon -l info
585+ restart : unless-stopped
586+ depends_on :
587+ - postgres
588+ - api
589+ - rabbitmq
590+ env_file :
591+ - .docker-compose.gv.env
592+ environment :
593+ DJANGO_SETTINGS_MODULE : app.settings
594+ volumes :
595+ - gv_requirements_vol:/usr/local/lib/python3.13
560596 stdin_open : true
561597
562598 pigeon :
0 commit comments