Workflow update

main
technorabilia 2 years ago
parent f9eb53fd24
commit 600ed405a0

@ -18,6 +18,8 @@ services:
# Specify a subfolder for reverse proxies IE '/FOLDER/' # Specify a subfolder for reverse proxies IE '/FOLDER/'
- SUBFOLDER=/ # optional - SUBFOLDER=/ # optional
volumes: volumes:
# Path to store user profiles
- ${BASEDIR:-/volume1/docker}/emulatorjs/config:/config
# Path to store roms/artwork # Path to store roms/artwork
- ${BASEDIR:-/volume1/docker}/emulatorjs/data:/data - ${BASEDIR:-/volume1/docker}/emulatorjs/data:/data
ports: ports:

@ -12,6 +12,7 @@ docker run -d \
-p 3000:3000 `# Rom/artwork management interface, used to generate/manage config files and download artwork` \ -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 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` \ -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` \ -v ${BASEDIR:-/volume1/docker}/emulatorjs/data:/data `# Path to store roms/artwork` \
--restart unless-stopped \ --restart unless-stopped \
ghcr.io/linuxserver/emulatorjs ghcr.io/linuxserver/emulatorjs

@ -1,3 +1,4 @@
ln -s ../docker-env.cfg ./.env ln -s ../docker-env.cfg ./.env
. ./.env . ./.env
mkdir -p ${BASEDIR:-/volume1/docker}/emulatorjs/config
mkdir -p ${BASEDIR:-/volume1/docker}/emulatorjs/data mkdir -p ${BASEDIR:-/volume1/docker}/emulatorjs/data

Loading…
Cancel
Save