docker: run both epic-games and prime-gaming by default

This commit is contained in:
Ralf Vogler 2022-12-24 15:20:45 +01:00
parent 67e622e6ec
commit 1c38f730ab
3 changed files with 7 additions and 1 deletions

View file

@ -16,6 +16,8 @@ const TIMEOUT = 20 * 1000; // 20s, default is 30s
const SCREEN_WIDTH = Number(process.env.SCREEN_WIDTH) || 1280;
const SCREEN_HEIGHT = Number(process.env.SCREEN_HEIGHT) || 1280;
console.log(datetime(), 'started checking epic-games');
const db = await jsonDb('epic-games.json');
db.data ||= {};
const migrateDb = (user) => {