diff options
author | Andrew Dolgov <[email protected]> | 2023-10-19 18:18:21 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-19 18:18:21 +0300 |
commit | 45a9ff0c88cbd33892ff16ab837e9059937d656e (patch) | |
tree | dd8eabeea90f15ad5e741df3aa11ee5b3ce3c3f7 | |
parent | 6c75ea17da86ea4f6a72ad75d5c64823453ca900 (diff) |
unharcode proxy registry
-rw-r--r-- | .docker/app/Dockerfile | 3 | ||||
-rw-r--r-- | .docker/web-nginx/Dockerfile | 3 |
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 |