From: Michal Migurski Date: Wed, 30 Dec 2020 22:51:13 +0000 (-0800) Subject: Switched to Docker volumn for DB data X-Git-Tag: live~2687^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/8c2db90d01b1fec6dd948276ac43a2fc1657c4ef?ds=inline Switched to Docker volumn for DB data --- diff --git a/docker-compose.yml b/docker-compose.yml index f03d315c7..2da3dbcb4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: