mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-11 19:06:20 +00:00
Add docker-compose file
This commit is contained in:
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
noisedash:
|
||||||
|
image: kevinthomas0/noisedash:latest
|
||||||
|
container_name: noisedash
|
||||||
|
ports:
|
||||||
|
- "1432:1432"
|
||||||
|
volumes:
|
||||||
|
- db:/var/noisedash/db
|
||||||
|
- samples:/var/noisedash/samples
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db:
|
||||||
|
samples:
|
||||||
|
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
const sqlite3 = require('sqlite3')
|
const sqlite3 = require('sqlite3')
|
||||||
|
|
||||||
module.exports = new sqlite3.Database('db.sqlite3')
|
module.exports = new sqlite3.Database('db/db.sqlite3')
|
||||||
|
|||||||
Reference in New Issue
Block a user