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'
|
version: '3.9'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
data:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
container_name: reftest_server
|
container_name: reftest_server
|
||||||
@ -31,7 +34,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 5000
|
- 5000
|
||||||
volumes:
|
volumes:
|
||||||
- ./ref-test/data:/ref-test/data
|
- data:/ref-test/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- frontend
|
- frontend
|
||||||
|
Loading…
Reference in New Issue
Block a user