Store data in docker volume instead of project dir
This commit is contained in:
parent
9e1c9caec6
commit
519394a656
@ -1,5 +1,8 @@
|
||||
version: '3.9'
|
||||
|
||||
volumes:
|
||||
data:
|
||||
|
||||
services:
|
||||
nginx:
|
||||
container_name: reftest_server
|
||||
@ -31,7 +34,7 @@ services:
|
||||
ports:
|
||||
- 5000
|
||||
volumes:
|
||||
- ./ref-test/data:/ref-test/data
|
||||
- data:/ref-test/data
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- frontend
|
||||
|
Loading…
Reference in New Issue
Block a user