Skip to content
This repository has been archived by the owner on Jun 29, 2019. It is now read-only.

Commit

Permalink
change port to 8079
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydpick committed Feb 3, 2016
1 parent 9391ed7 commit 744e472
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.mdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion build_and_run_ui
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 744e472

Please sign in to comment.