From c9907f6e6c6ab344389d12c2a5ab519eb4658b46 Mon Sep 17 00:00:00 2001 From: ITQ Date: Thu, 8 May 2025 13:46:47 +0300 Subject: [PATCH] chore: updated images tags --- compose.yaml | 18 ++++++++---------- infrastructure/postgres/.env.template | 2 +- infrastructure/postgres/password | 1 - services/checker/Dockerfile.checker | 2 +- 4 files changed, 10 insertions(+), 13 deletions(-) delete mode 100644 infrastructure/postgres/password diff --git a/compose.yaml b/compose.yaml index ac775af..b38f370 100644 --- a/compose.yaml +++ b/compose.yaml @@ -113,7 +113,7 @@ services: restart: unless-stopped celery-exporter: - image: docker.io/danihodovic/celery-exporter:0.11.1 + image: docker.io/danihodovic/celery-exporter:0.11.3 depends_on: redis: restart: false @@ -174,7 +174,7 @@ services: target: /data redis-exporter: - image: docker.io/oliver006/redis_exporter:v1.67.0-alpine + image: docker.io/oliver006/redis_exporter:v1.71.0-alpine depends_on: redis: restart: false @@ -207,9 +207,6 @@ services: retries: 5 oom_kill_disable: true restart: unless-stopped - secrets: - - source: postgres_password - target: /run/secrets/postgres_password shm_size: 128mb volumes: - type: volume @@ -217,7 +214,7 @@ services: target: /var/lib/postgresql/data postgres-exporter: - image: quay.io/prometheuscommunity/postgres-exporter:v0.16.0 + image: quay.io/prometheuscommunity/postgres-exporter:v0.17.1 depends_on: postgres: restart: false @@ -232,7 +229,7 @@ services: shm_size: 4mb pgadmin: - image: docker.io/dpage/pgadmin4:9 + image: docker.io/dpage/pgadmin4:9.3 configs: - source: pgadmin_servers target: /pgadmin4/servers.json @@ -275,6 +272,9 @@ services: - source: grafana_config target: /usr/share/grafana/conf/defaults.ini entrypoint: ["/etc/grafana/scripts/entrypoint.sh"] + env_file: + - path: ./infrastructure/grafana/.env + required: false healthcheck: test: ["CMD", "wget", "-O", "-", "http://localhost:3000/api/health"] interval: 1m30s @@ -413,7 +413,7 @@ services: target: /tmp proxy: - image: docker.io/nginx:1.27-alpine + image: docker.io/nginx:1.28-alpine-slim configs: - source: nginx_config target: /etc/nginx/nginx.conf @@ -448,7 +448,5 @@ configs: file: ./infrastructure/nginx/nginx.conf secrets: - postgres_password: - file: ./infrastructure/postgres/password pgadmin_password: file: ./infrastructure/pgadmin/password diff --git a/infrastructure/postgres/.env.template b/infrastructure/postgres/.env.template index 9ad6d4b..8acbdb3 100644 --- a/infrastructure/postgres/.env.template +++ b/infrastructure/postgres/.env.template @@ -1,3 +1,3 @@ POSTGRES_DB=postgres POSTGRES_USER=postgres -POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password +POSTGRES_PASSWORD=postgres diff --git a/infrastructure/postgres/password b/infrastructure/postgres/password deleted file mode 100644 index 7d72bd7..0000000 --- a/infrastructure/postgres/password +++ /dev/null @@ -1 +0,0 @@ -postgres \ No newline at end of file diff --git a/services/checker/Dockerfile.checker b/services/checker/Dockerfile.checker index 5fde0ce..c6d7391 100644 --- a/services/checker/Dockerfile.checker +++ b/services/checker/Dockerfile.checker @@ -11,4 +11,4 @@ COPY checker_requirements.txt . RUN pip install --no-cache-dir -r checker_requirements.txt -CMD ["python"] +CMD ["sleep", "infinity"]