From 600ed405a0eb84fa82814f427054634a5157fce2 Mon Sep 17 00:00:00 2001 From: technorabilia Date: Sat, 15 Jan 2022 00:36:25 +0000 Subject: [PATCH] Workflow update --- lsio/emulatorjs/docker-compose.yaml | 2 ++ lsio/emulatorjs/docker-run.sh | 1 + lsio/emulatorjs/run-once.sh | 1 + 3 files changed, 4 insertions(+) diff --git a/lsio/emulatorjs/docker-compose.yaml b/lsio/emulatorjs/docker-compose.yaml index 2f5ab67..817d204 100644 --- a/lsio/emulatorjs/docker-compose.yaml +++ b/lsio/emulatorjs/docker-compose.yaml @@ -18,6 +18,8 @@ services: # Specify a subfolder for reverse proxies IE '/FOLDER/' - SUBFOLDER=/ # optional volumes: + # Path to store user profiles + - ${BASEDIR:-/volume1/docker}/emulatorjs/config:/config # Path to store roms/artwork - ${BASEDIR:-/volume1/docker}/emulatorjs/data:/data ports: diff --git a/lsio/emulatorjs/docker-run.sh b/lsio/emulatorjs/docker-run.sh index 2d08171..62c65d4 100644 --- a/lsio/emulatorjs/docker-run.sh +++ b/lsio/emulatorjs/docker-run.sh @@ -12,6 +12,7 @@ docker run -d \ -p 3000:3000 `# Rom/artwork management interface, used to generate/manage config files and download artwork` \ -p 80:80 `# Emulation frontend containing static web files used to browse and launch games` \ -p 4001:4001 `# optional` `# IPFS peering port, if you want to participate in the P2P network to distribute frontend artwork please forward this to the Internet` \ + -v ${BASEDIR:-/volume1/docker}/emulatorjs/config:/config `# Path to store user profiles` \ -v ${BASEDIR:-/volume1/docker}/emulatorjs/data:/data `# Path to store roms/artwork` \ --restart unless-stopped \ ghcr.io/linuxserver/emulatorjs diff --git a/lsio/emulatorjs/run-once.sh b/lsio/emulatorjs/run-once.sh index 61f1736..d98354e 100644 --- a/lsio/emulatorjs/run-once.sh +++ b/lsio/emulatorjs/run-once.sh @@ -1,3 +1,4 @@ ln -s ../docker-env.cfg ./.env . ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/emulatorjs/config mkdir -p ${BASEDIR:-/volume1/docker}/emulatorjs/data