Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Add named volume for postgresql DB

Rich Turner61569adaa720
diff --git a/docker-compose.yml b/docker-compose.yml
index cd20c8d97..7fa361de8 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -12,6 +12,7 @@ version: '2.4'
volumes:
temp-data:
+ postgresql-data:
services:
@@ -30,6 +31,7 @@ services:
restart: always
image: openremote/postgresql:${POSTGRESQL_VERSION:-9.6.21.0}
volumes:
+ - postgresql-data:/var/lib/postgresql/data
- temp-data:/tmp
keycloak: