ci: streamline pipeline and add dev deploy actions
Some checks failed
CI/CD Pipeline / Start Dev Containers in Dokploy (push) Has been skipped
CI/CD Pipeline / Start Dev Containers in Dokploy (pull_request) Has been skipped
CI/CD Pipeline / Quality Gate (pull_request) Failing after 2m47s
CI/CD Pipeline / Build and Push Images (pull_request) Has been skipped
CI/CD Pipeline / Quality Gate (push) Successful in 3m14s
CI/CD Pipeline / Build and Push Images (push) Has been skipped
CI/CD Pipeline / Internal Notify (pull_request) Successful in 1s
CI/CD Pipeline / Internal Notify (push) Successful in 1s

This commit is contained in:
2026-04-28 10:12:06 +02:00
parent 0c96c57121
commit e11e7da606
5 changed files with 411 additions and 231 deletions

View File

@@ -63,7 +63,33 @@ RUN mkdir -p logs media staticfiles input/fns input/fns/processed input/fns/fail
&& chown -R appuser:appgroup /app
ENV PATH="/app/.venv/bin:${PATH}" \
PYTHONPATH=/app/src
PYTHONPATH=/app/src \
DJANGO_SETTINGS_MODULE=settings.dev \
POSTGRES_HOST=10.10.0.114 \
POSTGRES_PORT=5432 \
POSTGRES_DB=mostovik \
POSTGRES_USER=postgres \
POSTGRES_PASSWORD=postgres \
POSTGRES_SSLMODE=disable \
REDIS_HOST=10.10.0.110 \
REDIS_CACHE_URL=redis://10.10.0.110:6379/1 \
CELERY_BROKER_URL=redis://10.10.0.110:6379/0 \
CELERY_RESULT_BACKEND=redis://10.10.0.110:6379/0 \
PORT=8000 \
GUNICORN_WORKERS=4 \
GUNICORN_TIMEOUT=60 \
CELERY_LOG_LEVEL=INFO \
CELERY_WORKER_CONCURRENCY=2 \
CHECKO_API_KEY=pRiEnJuD1tclsLCb \
ZAKUPKI_TOKEN=019c03d7-e1f6-7091-b296-8c88b4c585dd \
COLLECTSTATIC_ON_MIGRATE=0 \
BACKUP_ENCRYPTION_KEY=a2tra2tra2tra2tra2tra2tra2tra2tra2tra2s \
BACKUP_KEY_ID=default \
BACKUP_EXPORT_DIRECTORY=/app/media/backups \
STATE_CORP_EXCHANGE_URL= \
STATE_CORP_EXCHANGE_TOKEN= \
STATE_CORP_EXCHANGE_KEY_ID=state-corp-shared-token \
STATE_CORP_EXCHANGE_TIMEOUT_SECONDS=60
USER appuser