Commit Graph

947 Commits

Author SHA1 Message Date
emelinda
e122cc6f0b Drop dead DJANGO_HOST env from processing-api
workflows-api config reads only HTTP/Postgres/JWT PUBLIC_KEY; DJANGO_HOST was
never consumed by the code (leftover from the k8s manifest).
2026-07-24 18:26:32 +03:00
emelinda
6244a05c19 Wire backend to processing-api, provision workflow_db extensions, add deploy automation
- backend/celery: WORKFLOWS_USE/HOST/BASE_HOST/PREFIX -> processing-api
  (WORKFLOWSSETTINGS builds COMPARISON/DOCUMENTATION/PDM_FILES URLs)
- postgres-init: create uuid-ossp/ltree/hstore in workflow_db as superuser
  (processing role lacks CREATE EXTENSION) - fixes workflows-api migration
- sarex_stack: handlers recreate nginx / backend+celery when their mounted
  configs change (docker compose up -d does not detect bind-mount edits)
- poe: operational tasks up/ps/pull/logs/restart on the host
2026-07-24 18:22:02 +03:00
emelinda
b7f4d07544 Integrate S3 media storage via custom backend, add s3-proxy service, update Nginx for media routing, and include processing services in stack. 2026-07-24 17:48:49 +03:00
emelinda
f9bde75ed7 add SAREX_MODULES 2026-07-23 19:52:14 +03:00
emelinda
5ef655f1bc Add production backend configuration with classical JWT authentication, update provisioning tasks, and include production.py in docker-compose and Ansible workflows 2026-07-23 19:24:32 +03:00
emelinda
e4953042c0 Add JWT key generation for backend, update provisioning and deployment tasks, enhance docker-compose with protected Redis, and refine Ansible workflow with new install sequence and application stack management 2026-07-23 19:09:22 +03:00
emelinda
0f9969ddad Update backend image to production version in .env.example and docker-compose.yaml, refine Ansible tasks for conditional superuser creation 2026-07-23 18:29:46 +03:00
emelinda
8551d58d08 Update frontend image in .env.example for contour compatibility 2026-07-23 18:21:11 +03:00
emelinda
cb37ba000e Update frontend image in .env.example for contour compatibility 2026-07-23 17:26:04 +03:00
emelinda
75c47e932f Update frontend Dockerfile for contour with relative paths and adjust docker-compose.yaml to use contour-specific image. 2026-07-23 17:25:25 +03:00
emelinda
4d9b1807bf Add uWSGI configuration for backend with http-socket and worker settings. Update Nginx template, .env.example, Ansible tasks, and docker-compose.yaml to integrate uWSGI and dynamic image references. 2026-07-23 16:14:37 +03:00
emelinda
2c3fce7834 Add idempotent Postgres initialization service for app-specific roles and databases. Update .env.example and docker-compose.yaml accordingly. 2026-07-23 15:13:11 +03:00
emelinda
83a8339db7 Add base and sarex_stack Ansible roles with provisioning for Docker hosts, system configuration, Docker installation, sarex-stack deployment, and secrets handling. 2026-07-23 15:04:14 +03:00
emelinda
3a2ee9d6b6 Add init script for Postgres roles/databases, Processing and Measurements services, and update .env.example, docker-compose.yaml, and Nginx configuration 2026-07-22 18:37:24 +03:00
emelinda
333677dedf Add app-specific MinIO user with scoped bucket policy, update .env.example, docker-compose.yaml, and Nginx configuration accordingly 2026-07-22 17:59:57 +03:00
emelinda
0ad515e6c4 Add script to generate a self-signed TLS certificate for Nginx and update configurations to enable HTTPS with default and custom domains. 2026-07-22 17:04:52 +03:00
emelinda
ea23b885c4 Comment out unused ports, backend/frontend dependencies, and Nginx routes. Switch to custom registry images for Redis, RabbitMQ, MinIO, and MinIO Client in docker-compose.yaml. 2026-07-22 16:43:45 +03:00
emelinda
d87af910d6 Refactor Nginx configuration to use templated files and support multiple domains (platform, admin, MinIO). Update .env.example and docker-compose.yaml accordingly. 2026-07-22 16:06:55 +03:00
emelinda
93e9d9fed0 Add Nginx reverse proxy, infrastructure services (Postgres, Redis, RabbitMQ, MinIO), and application setup to docker-compose.yaml with updated .env.example and Nginx configuration 2026-07-22 14:51:41 +03:00
emelinda
eb2748170a Add external K3S_API_HOST and Gitea service to docker-compose.yaml 2026-07-22 14:25:29 +03:00
emelinda
361b7155bf Update volume name from k3s-agent-data to k3s-worker-data in docker-compose.yaml 2026-07-21 17:21:36 +03:00
emelinda
fb001710c3 add k3s/*
k3s-master/*
2026-07-21 17:17:30 +03:00
emelinda
b8c29be7a5 add ./k3s/*
./k3s-master/*
2026-07-21 17:12:59 +03:00
emelinda
2bbee05013 Add docker-compose.yaml for local K3s server and agent setup with example .env file 2026-07-21 17:04:18 +03:00
ivan
6f32692f88 ++ 2026-07-21 14:48:52 +05:00
ivan
ef9c579d3d ++ 2026-07-21 14:45:45 +05:00
ivan
eee24c8b62 -- 2026-07-21 14:41:55 +05:00
ivan
f6f5137ded ++ 2026-07-21 14:38:34 +05:00
ivan
689024267f ++ 2026-07-21 14:35:04 +05:00
ivan
4a6cd75f64 ++ 2026-07-21 14:30:44 +05:00
ivan
52ab310c65 ++ 2026-07-21 14:22:34 +05:00
eaa5afcac4 fix rmq 2026-07-20 19:44:25 +03:00
e28264a6ed enable rmq loopback user 2026-07-20 19:30:09 +03:00
446284bf4a remove bootstrap jobs form ugmk 2026-07-20 18:48:11 +03:00
edd195cdae bump rmq chart 2026-07-20 18:38:31 +03:00
emelinda
a64f539f3d Update Vault role for attachments app in d8-ugmk-prod configuration 2026-07-18 22:13:06 +03:00
emelinda
ccbfd63a08 Migrate attachments app to HelmRelease in d8-ugmk-prod, enable in kustomization, and update related configurations. Remove legacy namespace resource. 2026-07-18 21:43:49 +03:00
emelinda
3febe6382b Remove attachments app from d8-ugmk-prod kustomization and its namespace resource 2026-07-18 20:47:24 +03:00
0c1e3f8c59 add kafka authorizer 2026-07-17 18:06:03 +03:00
emelinda
9b0942f228 Migrate various applications to manifest definitions and HelmRelease. Add them to the appropriate namespaces and update related configurations. 2026-07-16 14:01:21 +03:00
emelinda
62e29156b8 add snapshots/* to .gitignore 2026-07-16 13:30:12 +03:00
emelinda
0d87e03126 add control-interface in d8-ugmk-prod 2026-07-15 18:42:26 +03:00
emelinda
06acc89567 remove control-interface in d8-ugmk-prod 2026-07-15 18:35:57 +03:00
emelinda
a8aeb7df0e Migrate auth-flow app from raw manifest definitions to HelmRelease and add to d8-ugmk-prod kustomization. Remove deprecated deployment and service resources and update related configurations. 2026-07-15 18:04:32 +03:00
emelinda
56e9457d27 Migrate frontend app from django namespace to control-interface namespace and update related HelmRelease configurations. 2026-07-15 17:58:41 +03:00
emelinda
0e0108ea52 Migrate remarks app from raw manifest definitions to HelmRelease and add to d8-ugmk-prod kustomization. Remove deprecated resources and update related configurations. 2026-07-15 17:55:40 +03:00
emelinda
68b2fc9eaf Migrate reviews app from raw manifest definitions to HelmRelease and add to d8-ugmk-prod kustomization. Remove deprecated resources and update related configurations. 2026-07-15 17:30:01 +03:00
emelinda
c46132f75c Migrate cross-section-static from raw manifest definitions to HelmRelease and add to d8-ugmk-prod kustomization. Remove deprecated resources and update related configurations. 2026-07-15 17:13:06 +03:00
Дмитрий Емелин
d00f91688a Merge branch 'docs' into 'master'
Add example `.env` files and configuration documentation for `measurements`...

See merge request infra/iac!2
2026-07-15 13:44:56 +00:00
emelinda
dbcde81b88 Merge remote-tracking branch 'origin/docs' into docs 2026-07-15 16:39:59 +03:00