From 35a084dccc962a3dc608d615606e1ce05872b23d Mon Sep 17 00:00:00 2001 From: skeris Date: Fri, 13 Jun 2025 15:40:31 +0300 Subject: [PATCH] fix: docker image tag --- Dockerfile | 2 +- deployments/staging/docker-compose.yaml | 31 +++++++++---------------- 2 files changed, 12 insertions(+), 21 deletions(-) diff --git a/Dockerfile b/Dockerfile index e5a4253..45463de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # BUILD -FROM gitea.pena/penadevops/container-images/golang:main as build +FROM gitea.pena/penadevops/container-images/golang:1.23.8-alpine as build # Update depences RUN apk update && apk add --no-cache curl diff --git a/deployments/staging/docker-compose.yaml b/deployments/staging/docker-compose.yaml index 0768811..9dd3f39 100644 --- a/deployments/staging/docker-compose.yaml +++ b/deployments/staging/docker-compose.yaml @@ -3,27 +3,18 @@ services: image: gitea.pena/penaside/treasurer/staging:$GITHUB_RUN_NUMBER tty: true environment: - - HTTP_HOST=0.0.0.0 - - HTTP_PORT=8085 - - HTTP_DOMEN=http://localhost:8085 + HTTP_URL: 0.0.0.0:8085 + HTTP_DOMAIN: http://localhost:8085 + GRPC_URL: 0.0.0.0:9085 + IS_MOCK: false + MOCK_SERVICE_HOST: http://treasurer-mock-staging:8080 + YOOMONEY_STORE_ID: 342813 + YOOMONEY_SECRET_KEY: test_CD5KsaQOIcw_yqF4GMT-NuTm8-aaq4dTmQ5bunVAnwE + YOOMONEY_WEBHOOKS_URL: http://treasurer-mock-staging:8080/webhooks + YOOMONEY_PAYMENTS_URL: https://api.yookassa.ru/v3/payments + MONGO_URL: mongodb://treasurer:Wr5uCLwIu7CEeWT3@10.7.0.6:27017/?authSource=treasurer + MONGO_DB_NAME: treasurer - - GRPC_HOST=0.0.0.0 - - GRPC_PORT=9085 - - - IS_MOCK=false - - MOCK_SERVICE_HOST=http://treasurer-mock-staging:8080 - - - YOOMONEY_STORE_ID=342813 - - YOOMONEY_SECRET_KEY=test_CD5KsaQOIcw_yqF4GMT-NuTm8-aaq4dTmQ5bunVAnwE - - YOOMONEY_WEBHOOKS_URL=http://treasurer-mock-staging:8080/webhooks - - YOOMONEY_PAYMENTS_URL=https://api.yookassa.ru/v3/payments - - - MONGO_HOST=10.7.0.6 - - MONGO_PORT=27017 - - MONGO_USER=treasurer - - MONGO_PASSWORD=Wr5uCLwIu7CEeWT3 - - MONGO_DB_NAME=treasurer - - MONGO_AUTH=treasurer ports: - 10.7.0.6:8085:8085 - 10.7.0.6:9085:9085