You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2016/12/16 21:16:06 UTC
[09/50] incubator-trafficcontrol git commit: add volume for postgres
persistent data
add volume for postgres persistent data
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/68462695
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/68462695
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/68462695
Branch: refs/heads/postgres
Commit: 684626950856d03b8aa6cf82d27db771fa8e98db
Parents: 2ae4667
Author: Dan Kirkwood <da...@gmail.com>
Authored: Wed Nov 30 15:54:05 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Dec 16 14:09:45 2016 -0700
----------------------------------------------------------------------
traffic_ops/app/db/pg-migration/docker-compose.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/68462695/traffic_ops/app/db/pg-migration/docker-compose.yml
----------------------------------------------------------------------
diff --git a/traffic_ops/app/db/pg-migration/docker-compose.yml b/traffic_ops/app/db/pg-migration/docker-compose.yml
index ef17488..c8ac83d 100644
--- a/traffic_ops/app/db/pg-migration/docker-compose.yml
+++ b/traffic_ops/app/db/pg-migration/docker-compose.yml
@@ -1,4 +1,5 @@
version: '2'
+
services:
dataimport:
build:
@@ -36,8 +37,10 @@ services:
- POSTGRES_DB=traffic_ops
- POSTGRES_PASSWORD=twelve
- POSTGRES_USER=traffic_ops
+ volumes:
+ - /var/lib/postgresql/data:/var/lib/postgresql/data
ports:
- - "5432:5432"
+ - 5432
pgloader:
build: