Skip to content

Instantly share code, notes, and snippets.

@1stvamp
Created December 7, 2016 23:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1stvamp/1197a5518d4f2247c05b184e4ae62d77 to your computer and use it in GitHub Desktop.
Save 1stvamp/1197a5518d4f2247c05b184e4ae62d77 to your computer and use it in GitHub Desktop.
diff --git a/Dockerfile.j2 b/Dockerfile.j2
index 09f09f9..7ebbaad 100644
--- a/Dockerfile.j2
+++ b/Dockerfile.j2
@@ -9,4 +9,6 @@ COPY . /srv/helloworld/code
RUN echo "{{ BUILD_REVISION }}" > version-info.txt
RUN rm -rf env
RUN pip install -U .
-CMD bin/confd -confdir etc/confd/ -log-level info -backend etcd -node http://etcd-client:2379
+ENV HELLOWORLD_DB_HOST localhost
+ENV HELLOWORLD_DB_PORT 5115
+CMD bin/confd -confdir etc/confd/ -log-level info -backend env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment