@@ -86,6 +86,8 @@ services:
86
86
ports :
87
87
- 5432:5432
88
88
environment :
89
+ POSTGRES_DB : osf
90
+ POSTGRES_HOST_AUTH_METHOD : trust
89
91
POSTGRES_INITDB_SQL : |
90
92
SELECT 'CREATE DATABASE gravyvalet' WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'gravyvalet')\gexec
91
93
volumes :
@@ -534,13 +536,15 @@ services:
534
536
command :
535
537
- /bin/bash
536
538
- -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 /
541
545
restart : ' no'
542
546
volumes :
543
- - gv_requirements_vol:/python3.12
547
+ - gv_requirements_vol:/python3.13
544
548
545
549
gv :
546
550
image : quay.io/centerforopenscience/gravyvalet:develop
@@ -556,7 +560,39 @@ services:
556
560
environment :
557
561
DJANGO_SETTINGS_MODULE : app.settings
558
562
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
560
596
stdin_open : true
561
597
562
598
pigeon :
0 commit comments