Updated dbs to use docker volumes

main
capntack 2 years ago
parent f4b4ecd65b
commit be5e2c0c50

@ -3,6 +3,9 @@
# The WebUI can be found at http://<HOST_IP>:<WEBUI_PORT>
# Ghost is very particular about it's variables, hence the odd format
volumes:
ghost-db:
networks:
<NETWORK_NAME>:
external: true
@ -36,4 +39,4 @@ services:
- <NETWORK_NAME>
restart: unless-stopped
volumes:
- ./ghost-db:/var/lib/mysql
- ghost-db:/var/lib/mysql

@ -3,6 +3,9 @@
# The linkding WebUI can be found at http://<HOST_IP>:<LINKDING_WEBUI_PORT>
# postgres Docker Hub: https://hub.docker.com/_/postgres
volumes:
linkding-db:
networks:
<NETWORK_NAME>:
external: yes
@ -39,4 +42,4 @@ services:
- <NETWORK_NAME>
restart: unless-stopped
volumes:
- ./linkding-db/data:/var/lib/postgresql/data
- linkding-db/data:/var/lib/postgresql/data

@ -4,7 +4,7 @@
# postgres Docker Hub: https://hub.docker.com/_/postgres
volumes:
db:
wikijs-db:
networks:
<NETWORK_NAME>:
@ -41,4 +41,4 @@ services:
- <NETWORK_NAME>
restart: unless-stopped
volumes:
- db:/var/lib/postgresql/data
- wikijs-db:/var/lib/postgresql/data
Loading…
Cancel
Save