]> git.openstreetmap.org Git - rails.git/commitdiff
Switched to Docker volumn for DB data
authorMichal Migurski <mike@teczno.com>
Wed, 30 Dec 2020 22:51:13 +0000 (14:51 -0800)
committerMichal Migurski <migurski@fb.com>
Thu, 28 Jan 2021 20:03:58 +0000 (12:03 -0800)
docker-compose.yml

index f03d315c707184364538cce87b677ec05272bae1..2da3dbcb42ad9c90946e9ccb28d7565b09419148 100644 (file)
@@ -29,4 +29,7 @@ services:
       POSTGRES_HOST_AUTH_METHOD: trust
       POSTGRES_DB: openstreetmap
     volumes:
-      - ./docker-db-data:/var/lib/postgresql/data
+      - db-data:/var/lib/postgresql/data
+
+volumes:
+  db-data: