Store data in docker volume instead of project dir

This commit is contained in:
Vivek Santayana 2022-06-22 15:05:44 +01:00
parent 9e1c9caec6
commit 519394a656

View File

@ -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