Workflow update
parent
1f54f5967b
commit
9826a22bad
@ -0,0 +1,30 @@
|
|||||||
|
# [Emulatorjs](https://github.com/linuxserver/emulatorjs) - A fork of NeptunJS
|
||||||
|
# used to run multiple web based emulators for retro games. This projects adds a
|
||||||
|
# management layer for adding roms and artwork to make it self hosted.
|
||||||
|
|
||||||
|
---
|
||||||
|
version: "2.1"
|
||||||
|
services:
|
||||||
|
emulatorjs:
|
||||||
|
image: ghcr.io/linuxserver/emulatorjs
|
||||||
|
container_name: emulatorjs
|
||||||
|
environment:
|
||||||
|
# for GroupID
|
||||||
|
- PUID=${PUID:-1024}
|
||||||
|
# for UserID
|
||||||
|
- PGID=${PGID:-100}
|
||||||
|
# Specify a timezone to use for example Europe/Amsterdam
|
||||||
|
- TZ=${TZ:-Europe/Amsterdam}
|
||||||
|
# Specify a subfolder for reverse proxies IE '/FOLDER/'
|
||||||
|
- SUBFOLDER=/ # optional
|
||||||
|
volumes:
|
||||||
|
# Path to store roms/artwork
|
||||||
|
- ${BASEDIR:-/volume1/docker}/emulatorjs/data:/data
|
||||||
|
ports:
|
||||||
|
# Rom/artwork management interface, used to generate/manage config files and download artwork
|
||||||
|
- 3000:3000
|
||||||
|
# Emulation frontend containing static web files used to browse and launch games
|
||||||
|
- 80:80
|
||||||
|
# IPFS peering port, if you want to participate in the P2P network to distribute frontend artwork please forward this to the Internet
|
||||||
|
- 4001:4001 # optional
|
||||||
|
restart: unless-stopped
|
@ -0,0 +1,17 @@
|
|||||||
|
# [Emulatorjs](https://github.com/linuxserver/emulatorjs) - A fork of NeptunJS
|
||||||
|
# used to run multiple web based emulators for retro games. This projects adds a
|
||||||
|
# management layer for adding roms and artwork to make it self hosted.
|
||||||
|
|
||||||
|
source ./.env
|
||||||
|
docker run -d \
|
||||||
|
--name=emulatorjs \
|
||||||
|
-e PUID=${PUID:-1024} `# for GroupID` \
|
||||||
|
-e PGID=${PGID:-100} `# for UserID` \
|
||||||
|
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
|
||||||
|
-e SUBFOLDER=/ `# optional` `# Specify a subfolder for reverse proxies IE '/FOLDER/'` \
|
||||||
|
-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/data:/data `# Path to store roms/artwork` \
|
||||||
|
--restart unless-stopped \
|
||||||
|
ghcr.io/linuxserver/emulatorjs
|
@ -0,0 +1,3 @@
|
|||||||
|
ln -s ../docker-env.cfg ./.env
|
||||||
|
. ./.env
|
||||||
|
mkdir -p ${BASEDIR:-/volume1/docker}/emulatorjs/data
|
Loading…
Reference in New Issue