Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Commit

Permalink
Added a MongoDB dump to oc_backup.sh, removed port 80 from Viz
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 15, 2015
1 parent 0638c35 commit 839b0ad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ hubdb:


hub:
@ sudo mkdir -p $(PATH_HUB_SSH_HOST) $(PATH_HUB_SSH_AUTOSSH)
@ sudo mkdir -p $(PATH_HUB_AUTHKEYS) $(PATH_HUB_AUTOSSH)
@ $(call dockerize,hub,$(DOCKER_HUB_PRODUCTION))


Expand Down Expand Up @@ -306,6 +306,11 @@ config-oc:
echo 'cd $${SCRIPT_DIR}'; \
echo ''; \
echo ''; \
echo '# Create a MongoDB dump'; \
echo '#'; \
echo 'sudo docker exec hubdb /app/mongodb_dump.sh';\
echo ''; \
echo ''; \
echo '# Copy non-sensitive MongoDB dumps to ./mongo_partial/'; \
echo '#'; \
echo 'sudo mkdir -p mongo_partial/'; \
Expand Down
10 changes: 5 additions & 5 deletions config.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RELEASE_VERSION=0.1.1

# Hub external IP/Address (10.0.2.2 for Vagrant/VirtualBox)
#
URL_HUB=hub.pdc.io
URL_HUB=


# Notification addresses
Expand All @@ -26,7 +26,7 @@ EMAIL_ERRORS=errors@pdc.io

# ownCloud backup details
#
OWNCLOUD_ID=hub.pdc.io
OWNCLOUD_ID=
OWNCLOUD_PW=
OWNCLOUD_URL=

Expand Down Expand Up @@ -129,8 +129,8 @@ PATH_DRUGREF=${PATH_HOST}/drugref

# DACS
#
DACS_KEYFILE=${DACS_STOREDIR}/federations/pdc.dev/federation_keyfile
DACS_ROLEFILE=${DACS_STOREDIR}/federations/pdc.dev/roles
DACS_KEYFILE=/etc/dacs/federations/pdc.dev/federation_keyfile
DACS_ROLEFILE=/etc/dacs/federations/pdc.dev/roles


# Containers
Expand Down Expand Up @@ -159,5 +159,5 @@ DOCKER_HUBDB_DEV_APPEND=-p ${PORT_MONGO}:27017
DOCKER_QI_PRODUCTION=--link hubdb:hubdb
DOCKER_QI_DEV_APPEND=
#
DOCKER_VIZ_PRODUCTION=--link auth:auth --link hapi:hapi -p 80:${PORT_VIZ} -p 443:${PORT_VIZ} -v ${PATH_CERT}:/app/cert/:ro
DOCKER_VIZ_PRODUCTION=--link auth:auth --link hapi:hapi -p 443:${PORT_VIZ} -v ${PATH_CERT}:/app/cert/:ro
DOCKER_VIZ_DEV_APPEND=-p ${PORT_VIZ}:${PORT_VIZ}

0 comments on commit 839b0ad

Please sign in to comment.