linuxserver / emulatorjs

Self hosted web based retro emulation front end with rom and art management.
409 stars 31 forks source link

Lockscreen for webui? #96

Closed r0073d-l053r closed 11 months ago

r0073d-l053r commented 1 year ago

If I want to build out my own instance of EmulatorJS using docker compose, is it safe to assume that there is an option to add a lockscreen when going to my subdomain of my instance? I would hate to build out my own instance of EmulatorJS for my own personal use and find out other people are accessing it. I couldnt find anything in the documentation, that's why I am asking here. Thank you kindly, r0073dl053r.

j0nnymoe commented 1 year ago

Use a reverse proxy and put it behind authentication.

r0073d-l053r commented 1 year ago

Use a reverse proxy and put it behind authentication.

Could I do that by adding an enviroment to the compose.yml? Such as... "My config is built around ansible using gitlab btw."

---
version: "2.1"
services:
  emulatorjs:
    networks:
      - nginx
    image: lscr.io/linuxserver/emulatorjs:latest
    container_name: emulatorjs
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - SUBFOLDER=/ #optional
      - "CUSTOM_USER={{ arcade_user }}"
      - "PASSWORD={{ arcade_password }}"
    volumes:
      - {{ docker_data }}/path/to/config:/config
      - {{ docker_data }}/path/to/data:/data
    expose:
      - 3000
      - 80
      - 4001
    restart: unless-stopped

networks:

  nginx:
    external: true
j0nnymoe commented 1 year ago

If authentication was an option, it'd be in the documentation already.

LinuxServer-CI commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 10 months ago

This issue is locked due to inactivity