refactor: update volume paths in docker compose for booklore and mariadb services
This commit is contained in:
@@ -18,9 +18,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "${BOOKLORE_PORT}:${BOOKLORE_PORT}"
|
- "${BOOKLORE_PORT}:${BOOKLORE_PORT}"
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/data
|
- booklore_data:/app/data
|
||||||
- ./books:/books
|
- /mnt/media/books:/books
|
||||||
- ./bookdrop:/bookdrop
|
- /mnt/bookdrop:/bookdrop
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
@@ -35,10 +35,15 @@ services:
|
|||||||
- MYSQL_USER=${DB_USER}
|
- MYSQL_USER=${DB_USER}
|
||||||
- MYSQL_PASSWORD=${DB_PASSWORD}
|
- MYSQL_PASSWORD=${DB_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- ./mariadb/config:/config
|
- mariadb_config:/config
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "mariadb-admin", "ping", "-h", "localhost" ]
|
test: [ "CMD", "mariadb-admin", "ping", "-h", "localhost" ]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
volumes:
|
||||||
|
mariadb_config:
|
||||||
|
driver: local
|
||||||
|
booklore_data:
|
||||||
|
driver: local
|
||||||
|
|||||||
Reference in New Issue
Block a user