From bb680be366934d13c0aadaf7e536f8542825635c Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 1 Sep 2022 19:49:21 -0500 Subject: [PATCH] docker.conf --> docker.conf.template --- Dockerfile | 2 +- installation/{docker.conf => docker.conf.template} | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) rename installation/{docker.conf => docker.conf.template} (89%) diff --git a/Dockerfile b/Dockerfile index a15e8aad95..efe959b6d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,5 +10,5 @@ RUN yarn build FROM nginx:stable-alpine EXPOSE 5000 ENV PORT=5000 -COPY installation/docker.conf /etc/nginx/templates/default.conf.template +COPY installation/docker.conf.template /etc/nginx/templates/default.conf.template COPY --from=build /app/static /usr/share/nginx/html diff --git a/installation/docker.conf b/installation/docker.conf.template similarity index 89% rename from installation/docker.conf rename to installation/docker.conf.template index 072283fc70..d4393ad350 100644 --- a/installation/docker.conf +++ b/installation/docker.conf.template @@ -1,4 +1,7 @@ # Soapbox Nginx for Docker. +# It's intended to be used by the official nginx image, which has templating functionality. +# Mount at: `/etc/nginx/templates/default.conf.template` + server { listen ${PORT};