summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-10-19 18:18:21 +0300
committerAndrew Dolgov <[email protected]>2023-10-19 18:18:21 +0300
commit45a9ff0c88cbd33892ff16ab837e9059937d656e (patch)
treedd8eabeea90f15ad5e741df3aa11ee5b3ce3c3f7
parent6c75ea17da86ea4f6a72ad75d5c64823453ca900 (diff)
unharcode proxy registry
-rw-r--r--.docker/app/Dockerfile3
-rw-r--r--.docker/web-nginx/Dockerfile3
2 files changed, 4 insertions, 2 deletions
diff --git a/.docker/app/Dockerfile b/.docker/app/Dockerfile
index 57b090335..6e7967866 100644
--- a/.docker/app/Dockerfile
+++ b/.docker/app/Dockerfile
@@ -1,4 +1,5 @@
-FROM registry.fakecake.org/docker.io/alpine:3.18
+ARG PROXY_REGISTRY
+FROM ${PROXY_REGISTRY}alpine:3.18
EXPOSE 9000/tcp
ENV SCRIPT_ROOT=/opt/tt-rss
diff --git a/.docker/web-nginx/Dockerfile b/.docker/web-nginx/Dockerfile
index 9246f8106..b4dac2154 100644
--- a/.docker/web-nginx/Dockerfile
+++ b/.docker/web-nginx/Dockerfile
@@ -1,4 +1,5 @@
-FROM registry.fakecake.org/docker.io/nginx:alpine
+ARG PROXY_REGISTRY
+FROM ${PROXY_REGISTRY}nginx:alpine
HEALTHCHECK CMD curl --fail http://localhost/tt-rss/index.php || exit 1