Update requirements and insfra versions

This commit is contained in:
Urtzi Alfaro
2025-10-17 23:09:40 +02:00
parent 7e089b80cf
commit 312e36c893
81 changed files with 524 additions and 476 deletions

View File

@@ -49,13 +49,13 @@ services:
# ================================================================
redis:
image: redis:7-alpine
image: redis:7.4-alpine
container_name: bakery-redis
restart: unless-stopped
# ONLY use environment substitution from .env
command: >
redis-server
--appendonly yes
redis-server
--appendonly yes
--requirepass ${REDIS_PASSWORD}
--maxmemory ${REDIS_MAX_MEMORY:-512mb}
--databases 16
@@ -73,7 +73,7 @@ services:
retries: 3
rabbitmq:
image: rabbitmq:4.0-management-alpine
image: rabbitmq:4.1-management-alpine
container_name: bakery-rabbitmq
restart: unless-stopped
# ONLY use environment substitution from .env
@@ -101,7 +101,7 @@ services:
# ================================================================
auth-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-auth-db
restart: unless-stopped
# ONLY reference .env variables
@@ -123,7 +123,7 @@ services:
retries: 5
training-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-training-db
restart: unless-stopped
environment:
@@ -144,7 +144,7 @@ services:
retries: 5
forecasting-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-forecasting-db
restart: unless-stopped
environment:
@@ -165,7 +165,7 @@ services:
retries: 5
sales-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-sales-db
restart: unless-stopped
environment:
@@ -186,7 +186,7 @@ services:
retries: 5
external-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-external-db
restart: unless-stopped
environment:
@@ -207,7 +207,7 @@ services:
retries: 5
tenant-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-tenant-db
restart: unless-stopped
environment:
@@ -228,7 +228,7 @@ services:
retries: 5
notification-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-notification-db
restart: unless-stopped
environment:
@@ -249,7 +249,7 @@ services:
retries: 5
inventory-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-inventory-db
restart: unless-stopped
environment:
@@ -270,7 +270,7 @@ services:
retries: 5
recipes-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-recipes-db
restart: unless-stopped
environment:
@@ -291,7 +291,7 @@ services:
retries: 5
suppliers-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-suppliers-db
restart: unless-stopped
environment:
@@ -312,7 +312,7 @@ services:
retries: 5
pos-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-pos-db
restart: unless-stopped
environment:
@@ -333,7 +333,7 @@ services:
retries: 5
orders-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-orders-db
restart: unless-stopped
environment:
@@ -354,7 +354,7 @@ services:
retries: 5
production-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-production-db
restart: unless-stopped
environment:
@@ -375,7 +375,7 @@ services:
retries: 5
alert-processor-db:
image: postgres:15-alpine
image: postgres:17-alpine
container_name: bakery-alert-processor-db
restart: unless-stopped
environment:
@@ -401,7 +401,7 @@ services:
# ================================================================
nominatim-db:
image: postgis/postgis:15-3.3 # Use PostGIS enabled PostgreSQL image
image: postgis/postgis:17-3.5
container_name: bakery-nominatim-db
restart: unless-stopped
environment:
@@ -409,14 +409,14 @@ services:
- POSTGRES_USER=${NOMINATIM_DB_USER}
- POSTGRES_PASSWORD=${NOMINATIM_DB_PASSWORD}
- PGDATA=/var/lib/postgresql/data/pgdata
- POSTGRES_INITDB_ARGS="--auth-host=scram-sha-256" # Recommended for PostGIS
- POSTGRES_INITDB_ARGS="--auth-host=scram-sha-256"
volumes:
- nominatim_db_data:/var/lib/postgresql/data
profiles:
- development
networks:
bakery-network:
ipv4_address: 172.20.0.30 # Assign a static IP for Nominatim to find it
ipv4_address: 172.20.0.30
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${NOMINATIM_DB_USER} -d ${NOMINATIM_DB_NAME}"]
interval: 10s
@@ -1023,7 +1023,7 @@ services:
# ================================================================
prometheus:
image: prom/prometheus:v2.45.0
image: prom/prometheus:v3.0.1
container_name: bakery-prometheus
restart: unless-stopped
command:
@@ -1041,7 +1041,7 @@ services:
ipv4_address: 172.20.0.200
grafana:
image: grafana/grafana:10.0.0
image: grafana/grafana:12.3.0
container_name: bakery-grafana
restart: unless-stopped
environment:
@@ -1101,7 +1101,7 @@ services:
# ================================================================
pgadmin:
image: dpage/pgadmin4:7.4
image: dpage/pgadmin4:8.14
container_name: bakery-pgadmin
restart: unless-stopped
environment: