This commit is contained in:
@@ -10,7 +10,7 @@ cache:
|
||||
dialTimeout: 1h
|
||||
poolSize: 10
|
||||
defaultTtl: 1h
|
||||
rootCaFilePath: "/root/.redis/YandexInternalRootCA.crt"
|
||||
rootCaFilePath: "/etc/.redis/YandexInternalRootCA.crt"
|
||||
|
||||
s3Storage:
|
||||
bucket: "molva-staging"
|
||||
@@ -19,4 +19,4 @@ s3Storage:
|
||||
database:
|
||||
schema: test_schema
|
||||
sslmode: require
|
||||
rootCaFilePath: "/root/.redis/YandexInternalRootCA.crt"
|
||||
rootCaFilePath: "/etc/.redis/YandexInternalRootCA.crt"
|
||||
|
@@ -21,8 +21,8 @@ ARG CONFIG_FILE_PATH
|
||||
|
||||
RUN apk add --no-cache ca-certificates tzdata
|
||||
|
||||
COPY --from=certs /YandexInternalRootCA.crt /root/.redis/YandexInternalRootCA.crt
|
||||
COPY --from=certs /YandexInternalRootCA.crt /root/.postgres/YandexInternalRootCA.crt
|
||||
COPY --from=certs /YandexInternalRootCA.crt /etc/.redis/YandexInternalRootCA.crt
|
||||
COPY --from=certs /YandexInternalRootCA.crt /etc/.postgres/YandexInternalRootCA.crt
|
||||
COPY ${CONFIG_FILE_PATH} /config.yaml
|
||||
|
||||
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
|
||||
USER appuser
|
||||
|
||||
ENTRYPOINT ["sudo /main"]
|
||||
ENTRYPOINT ["/main"]
|
||||
CMD ["--config_path", "/config.yaml"]
|
Reference in New Issue
Block a user