Updated dbs to use docker volumes

main
capntack 1 year ago
parent f4b4ecd65b
commit be5e2c0c50

@ -3,6 +3,9 @@
# The WebUI can be found at http://<HOST_IP>:<WEBUI_PORT> # The WebUI can be found at http://<HOST_IP>:<WEBUI_PORT>
# Ghost is very particular about it's variables, hence the odd format # Ghost is very particular about it's variables, hence the odd format
volumes:
ghost-db:
networks: networks:
<NETWORK_NAME>: <NETWORK_NAME>:
external: true external: true
@ -36,4 +39,4 @@ services:
- <NETWORK_NAME> - <NETWORK_NAME>
restart: unless-stopped restart: unless-stopped
volumes: 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> # The linkding WebUI can be found at http://<HOST_IP>:<LINKDING_WEBUI_PORT>
# postgres Docker Hub: https://hub.docker.com/_/postgres # postgres Docker Hub: https://hub.docker.com/_/postgres
volumes:
linkding-db:
networks: networks:
<NETWORK_NAME>: <NETWORK_NAME>:
external: yes external: yes
@ -39,4 +42,4 @@ services:
- <NETWORK_NAME> - <NETWORK_NAME>
restart: unless-stopped restart: unless-stopped
volumes: 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 # postgres Docker Hub: https://hub.docker.com/_/postgres
volumes: volumes:
db: wikijs-db:
networks: networks:
<NETWORK_NAME>: <NETWORK_NAME>:
@ -41,4 +41,4 @@ services:
- <NETWORK_NAME> - <NETWORK_NAME>
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- db:/var/lib/postgresql/data - wikijs-db:/var/lib/postgresql/data
Loading…
Cancel
Save