Add persistant Storage to Container Databases
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -19,3 +19,4 @@ flowbite
|
||||
gallery/*
|
||||
tailwind
|
||||
whoosh_index
|
||||
databases/django
|
||||
|
||||
@@ -9,7 +9,7 @@ services:
|
||||
depends_on:
|
||||
- django-homepage
|
||||
volumes:
|
||||
- files-volume:/usr/src/app/files
|
||||
- ./files:/usr/src/app/files
|
||||
- ./gallery:/usr/src/app/files/uploads/gallery
|
||||
- ./assets:/usr/src/app/assets:ro
|
||||
networks:
|
||||
@@ -82,7 +82,8 @@ services:
|
||||
MYSQL_CHARSET: utf8
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||
volumes:
|
||||
- mysql-volume:/docker-entrypoint-initdb.d/
|
||||
- ./inits/django:/docker-entrypoint-initdb.d/
|
||||
- ./databases/django:/var/lib/mysql:Z
|
||||
networks:
|
||||
- django-db-network
|
||||
healthcheck:
|
||||
@@ -100,7 +101,8 @@ services:
|
||||
MYSQL_CHARSET: utf8
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||
volumes:
|
||||
- etherpad-mysql-volume:/docker-entrypoint-initdb.d/
|
||||
- ./init/etherpad:/docker-entrypoint-initdb.d/
|
||||
- ./databases/etherpad:/var/lib/mysql:Z
|
||||
networks:
|
||||
- etherpad-db-network
|
||||
healthcheck:
|
||||
|
||||
Reference in New Issue
Block a user