38
All checks were successful
Deploy Production / Deploy to Staging (push) Has been skipped

This commit is contained in:
Alex Shevchuk
2025-08-19 03:16:47 +03:00
parent 0c9c8a20db
commit 6a81e2b06d
2 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ cache:
dialTimeout: 1h dialTimeout: 1h
poolSize: 10 poolSize: 10
defaultTtl: 1h defaultTtl: 1h
rootCaFilePath: "/root/.redis/YandexInternalRootCA.crt" rootCaFilePath: "/etc/.redis/YandexInternalRootCA.crt"
s3Storage: s3Storage:
bucket: "molva-staging" bucket: "molva-staging"
@@ -19,4 +19,4 @@ s3Storage:
database: database:
schema: test_schema schema: test_schema
sslmode: require sslmode: require
rootCaFilePath: "/root/.redis/YandexInternalRootCA.crt" rootCaFilePath: "/etc/.redis/YandexInternalRootCA.crt"

View File

@@ -21,8 +21,8 @@ ARG CONFIG_FILE_PATH
RUN apk add --no-cache ca-certificates tzdata RUN apk add --no-cache ca-certificates tzdata
COPY --from=certs /YandexInternalRootCA.crt /root/.redis/YandexInternalRootCA.crt COPY --from=certs /YandexInternalRootCA.crt /etc/.redis/YandexInternalRootCA.crt
COPY --from=certs /YandexInternalRootCA.crt /root/.postgres/YandexInternalRootCA.crt COPY --from=certs /YandexInternalRootCA.crt /etc/.postgres/YandexInternalRootCA.crt
COPY ${CONFIG_FILE_PATH} /config.yaml COPY ${CONFIG_FILE_PATH} /config.yaml
COPY --from=builder /app/main /main COPY --from=builder /app/main /main
@@ -30,5 +30,5 @@ COPY --from=builder /app/main /main
RUN adduser -D -u 10001 appuser && chown appuser /main RUN adduser -D -u 10001 appuser && chown appuser /main
USER appuser USER appuser
ENTRYPOINT ["sudo /main"] ENTRYPOINT ["/main"]
CMD ["--config_path", "/config.yaml"] CMD ["--config_path", "/config.yaml"]