Merge branch 'cherry-pick-2418023d' into 'v4.x'

remove venv from python command

See merge request allianceauth/allianceauth!1592
This commit is contained in:
Ariel Rin 2024-02-17 08:39:47 +00:00
commit 3a95b89779

View File

@ -96,7 +96,7 @@ services:
container_name: allianceauth_gunicorn container_name: allianceauth_gunicorn
<<: [*allianceauth-base] <<: [*allianceauth-base]
entrypoint: [ entrypoint: [
"/opt/venv/bin/gunicorn", "gunicorn",
"myauth.wsgi", "myauth.wsgi",
"--bind=0.0.0.0:8000", "--bind=0.0.0.0:8000",
"--workers=3", "--workers=3",
@ -109,7 +109,7 @@ services:
container_name: allianceauth_worker_beat container_name: allianceauth_worker_beat
<<: [*allianceauth-base] <<: [*allianceauth-base]
entrypoint: [ entrypoint: [
"/opt/venv/bin/celery", "celery",
"-A", "-A",
"myauth", "myauth",
"beat" "beat"
@ -118,7 +118,7 @@ services:
allianceauth_worker: allianceauth_worker:
<<: [*allianceauth-base, *allianceauth-health-checks] <<: [*allianceauth-base, *allianceauth-health-checks]
entrypoint: [ entrypoint: [
"/opt/venv/bin/celery", "celery",
"-A", "-A",
"myauth", "myauth",
"worker", "worker",