mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-15 09:27:31 +01:00
Add docker files (#55)
* Add docker files * Improve docker-compose compatibility * Use Openstack's standard port * Use package ffmpeg-dev instead of ffmpeg * improve dockerfile and config * Add short docker guide * adhere to previous naming conventions * document former json comments * Undo init.sh approach to touching the db file * Make clear that it's about files on the host system * add local path specifier Co-authored-by: Denys Vitali <denys.vitali@swisscom.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const Umzug = require('umzug');
|
||||
const config = require('config')
|
||||
|
||||
function sequel_log(a,b,c) {
|
||||
console.log(a);
|
||||
@@ -17,7 +18,7 @@ const sequelize = new Sequelize('database', 'username', 'password', {
|
||||
},
|
||||
|
||||
// SQLite only
|
||||
storage: 'database.sqlite',
|
||||
storage: config.get('storage_local_db'),
|
||||
logging: sequel_log,
|
||||
|
||||
// http://docs.sequelizejs.com/manual/tutorial/querying.html#operators
|
||||
|
||||
Reference in New Issue
Block a user