From eccf6333eb80b617aaa9b7304fe22fb98b940ab4 Mon Sep 17 00:00:00 2001 From: Romain Crestey Date: Wed, 20 Jan 2016 09:41:22 +0100 Subject: [PATCH 1/2] modified db volumes for local use --- compose-prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose-prod.yml b/compose-prod.yml index cc06651..347dc69 100644 --- a/compose-prod.yml +++ b/compose-prod.yml @@ -15,7 +15,7 @@ api: - NODE_ENV=production volumes: - ./:/6element - - /data/6element/backups:/backups/ + - ./backups:/backups/ tty: true db: From b8541652d7f10accc149816f19fab7ab3a2b6ba4 Mon Sep 17 00:00:00 2001 From: Romain Crestey Date: Wed, 20 Jan 2016 11:01:30 +0100 Subject: [PATCH 2/2] removed dockerfiles --- dockerfiles/node | 14 -------------- dockerfiles/postgis | 10 ---------- 2 files changed, 24 deletions(-) delete mode 100644 dockerfiles/node delete mode 100644 dockerfiles/postgis diff --git a/dockerfiles/node b/dockerfiles/node deleted file mode 100644 index 7113f5a..0000000 --- a/dockerfiles/node +++ /dev/null @@ -1,14 +0,0 @@ -FROM node:4.2 - -MAINTAINER Alexandre Vallette - -RUN mkdir /6element -WORKDIR /6element - -RUN npm install nodemon -g - -RUN apt-get install wget ca-certificates -RUn wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - -RUN apt-get update -y -RUN apt-get upgrade -y -RUN apt-get install -y postgresql-9.4 \ No newline at end of file diff --git a/dockerfiles/postgis b/dockerfiles/postgis deleted file mode 100644 index 016781d..0000000 --- a/dockerfiles/postgis +++ /dev/null @@ -1,10 +0,0 @@ -FROM postgres:9.4 - -MAINTAINER Alexandre Vallette - -RUN apt-get update -RUN DEBIAN_FRONTEND=noninteractive \ - apt-get -qfy install postgis postgresql-9.4-postgis-2.1 \ - && apt-get clean - -RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \ No newline at end of file