From 744e472d95bab74473ca568adf86dff504b82053 Mon Sep 17 00:00:00 2001 From: Lloyd Pick Date: Wed, 3 Feb 2016 15:51:00 +0000 Subject: [PATCH] change port to 8079 --- README.mdown | 4 ++-- build_and_run_ui | 2 +- dockerfiles/ui/Dockerfile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.mdown b/README.mdown index 728d06a..b2adc21 100644 --- a/README.mdown +++ b/README.mdown @@ -296,14 +296,14 @@ Once you have finished your configuration, to get the system running you only ne docker run \ --rm \ - -p 80:80 \ + -p 8079:8079 \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /etc/uphold:/etc/uphold \ -v /var/log/uphold:/var/log/uphold \ uphold-ui:latest * You must make sure that you mount in the `docker.sock` from wherever it resides. -* Feel free to change the port number if you don't want it to start up on port 80. +* Feel free to change the port number if you don't want it to start up on port 8079. * Mount in the config and log directories as otherwise it can't read your configuration. Once the container is live you can browse to it, see all previous available runs for a backup and the states the ended in. You can manually start a backup test from here if you want to. diff --git a/build_and_run_ui b/build_and_run_ui index e194670..3ee0783 100755 --- a/build_and_run_ui +++ b/build_and_run_ui @@ -6,7 +6,7 @@ docker build --tag="uphold-ui:dockerfile" --file="dockerfiles/ui/Dockerfile" . docker run \ -it \ --rm \ - -p 80:80 \ + -p 8079:8079 \ -v /var/run/docker.sock:/var/run/docker.sock \ -v `pwd`/dev:/etc/uphold \ -v `pwd`/dev/logs:/var/log/uphold \ diff --git a/dockerfiles/ui/Dockerfile b/dockerfiles/ui/Dockerfile index 19d5e17..88e540e 100644 --- a/dockerfiles/ui/Dockerfile +++ b/dockerfiles/ui/Dockerfile @@ -18,5 +18,5 @@ COPY public /opt/uphold/public COPY views /opt/uphold/views COPY config.ru environment.rb ui.rb /opt/uphold/ -EXPOSE 80 -CMD ["bundle", "exec", "rackup", "config.ru", "-p", "80", "-s", "thin", "-o", "0.0.0.0"] +EXPOSE 8079 +CMD ["bundle", "exec", "rackup", "config.ru", "-p", "8079", "-s", "thin", "-o", "0.0.0.0"]