From be5e2c0c50cae8fd4c16d9a894a9deebd3dc4344 Mon Sep 17 00:00:00 2001 From: capntack Date: Mon, 1 May 2023 23:16:27 -0500 Subject: [PATCH] Updated dbs to use docker volumes --- docker-compose/ghost-stack/docker-compose.yml | 5 ++++- docker-compose/linkding-stack/docker-compose.yml | 5 ++++- docker-compose/wikijs-stack/docker-compose.yml | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docker-compose/ghost-stack/docker-compose.yml b/docker-compose/ghost-stack/docker-compose.yml index bd9b0bc..ad2fd4f 100644 --- a/docker-compose/ghost-stack/docker-compose.yml +++ b/docker-compose/ghost-stack/docker-compose.yml @@ -3,6 +3,9 @@ # The WebUI can be found at http://: # Ghost is very particular about it's variables, hence the odd format +volumes: + ghost-db: + networks: : external: true @@ -36,4 +39,4 @@ services: - restart: unless-stopped volumes: - - ./ghost-db:/var/lib/mysql \ No newline at end of file + - ghost-db:/var/lib/mysql \ No newline at end of file diff --git a/docker-compose/linkding-stack/docker-compose.yml b/docker-compose/linkding-stack/docker-compose.yml index 0dd17fb..c290272 100644 --- a/docker-compose/linkding-stack/docker-compose.yml +++ b/docker-compose/linkding-stack/docker-compose.yml @@ -3,6 +3,9 @@ # The linkding WebUI can be found at http://: # postgres Docker Hub: https://hub.docker.com/_/postgres +volumes: + linkding-db: + networks: : external: yes @@ -39,4 +42,4 @@ services: - restart: unless-stopped volumes: - - ./linkding-db/data:/var/lib/postgresql/data + - linkding-db/data:/var/lib/postgresql/data \ No newline at end of file diff --git a/docker-compose/wikijs-stack/docker-compose.yml b/docker-compose/wikijs-stack/docker-compose.yml index da586a0..f270e29 100644 --- a/docker-compose/wikijs-stack/docker-compose.yml +++ b/docker-compose/wikijs-stack/docker-compose.yml @@ -4,7 +4,7 @@ # postgres Docker Hub: https://hub.docker.com/_/postgres volumes: - db: + wikijs-db: networks: : @@ -41,4 +41,4 @@ services: - restart: unless-stopped volumes: - - db:/var/lib/postgresql/data \ No newline at end of file + - wikijs-db:/var/lib/postgresql/data \ No newline at end of file