git://git.halfball.org
/
ansiblebook.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5b891b
)
Volume mount postgres
author
Lorin Hochstein
<lhochstein@netflix.com>
Sun, 29 Jan 2017 05:30:58 +0000
(21:30 -0800)
committer
Lorin Hochstein
<lhochstein@netflix.com>
Sun, 29 Jan 2017 05:30:58 +0000
(21:30 -0800)
ch13/ansible/container.yml
patch
|
blob
|
history
diff --git
a/ch13/ansible/container.yml
b/ch13/ansible/container.yml
index
54f0e04
..
ffcc71d
100644
(file)
--- a/
ch13/ansible/container.yml
+++ b/
ch13/ansible/container.yml
@@
-60,4
+60,7
@@
services:
POSTGRES_DB: "{{ DATABASE_NAME }}"
POSTGRES_USER: "{{ DATABASE_USER }}"
POSTGRES_PASSWORD: "{{ DATABASE_PASSWORD }}"
+ PGDATA: /var/lib/postgresql/data/pgdata
+ volumes:
+ - ${PWD}/pgdata:/var/lib/postgresql/data/pgdata