summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <ar@bash.org.pl>2020-03-07 08:18:13 +0100
committerRobert Gerus <ar@bash.org.pl>2020-03-07 08:18:13 +0100
commitcd283b1423eb850838cd9ac6c66cbf8d0a7467a7 (patch)
tree3e8b17cf3247cf23aecb94ea7f5a3fa139b17a96
parent0aee39af76093992b140c0b83b4e3864818b4725 (diff)
downloadspejstore-cd283b1423eb850838cd9ac6c66cbf8d0a7467a7.tar.gz
spejstore-cd283b1423eb850838cd9ac6c66cbf8d0a7467a7.tar.bz2
spejstore-cd283b1423eb850838cd9ac6c66cbf8d0a7467a7.zip
Don't reuse/overwrite random host directories.
-rw-r--r--docker-compose.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 598ac62..ff9da3d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -4,7 +4,9 @@ services:
build: postgres-hstore
restart: always
volumes:
- - /var/spejstore-data:/var/lib/postgresql/data
+ - spejstore-data:/var/lib/postgresql/data
+ environment:
+ POSTGRES_HOST_AUTH_METHOD: trust
web:
build: .
@@ -20,3 +22,6 @@ services:
env_file:
- spejstore-dev.env
- spejstore.env
+
+volumes:
+ spejstore-data: