mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 08:54:19 +00:00
update docker-compose.yml to define named volumes for database and songs
This commit is contained in:
parent
e740795f46
commit
7b80c0b04e
1 changed files with 7 additions and 2 deletions
|
|
@ -1,4 +1,9 @@
|
||||||
version: '3.1'
|
version: '3.1'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
seek-tune-db:
|
||||||
|
seek-tune-songs:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
seek-tune:
|
seek-tune:
|
||||||
image: 'seek-tune'
|
image: 'seek-tune'
|
||||||
|
|
@ -22,5 +27,5 @@ services:
|
||||||
REACT_APP_BACKEND_URL: ${REACT_APP_BACKEND_URL:-http://localhost:8080}
|
REACT_APP_BACKEND_URL: ${REACT_APP_BACKEND_URL:-http://localhost:8080}
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./songs:/home/seek-tune/songs
|
- seek-tune-db:/home/seek-tune/db
|
||||||
- ./db:/home/seek-tune/db
|
- seek-tune-songs:/home/seek-tune/songs
|
||||||
Loading…
Add table
Reference in a new issue