User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:romm [2024/04/04 08:17] willyservices:romm [2024/09/02 13:22] (current) willy
Line 1: Line 1:
 ====== ROMM ====== ====== ROMM ======
  
-[[https://github.com/rommapp/romm|RomM]] is a ROM manager for your console ROM collection. +[[https://github.com/rommapp/romm|RomM]] is a ROM manager for your console ROM collection. Moreover, it also allow you to play your games directly in the browser. Pretty neat, eh.
  
 ===== Installation ===== ===== Installation =====
Line 81: Line 80:
         access_log /var/log/nginx/romm.mydomain.com_access_log main;         access_log /var/log/nginx/romm.mydomain.com_access_log main;
         error_log /var/log/nginx/romm.mydomain.com_error_log info;         error_log /var/log/nginx/romm.mydomain.com_error_log info;
 +       
 +       include "com.mydomain/authelia_location-basic.conf";
  
         location / {         location / {
                 proxy_pass http://127.0.0.1:2280/;                 proxy_pass http://127.0.0.1:2280/;
 +                include "com.mydomain/authelia_proxy.conf";
 +                include "com.mydomain/authelia_authrequest-basic.conf";          
                 proxy_set_header Connection $http_connection;                 proxy_set_header Connection $http_connection;
                 proxy_set_header Upgrade $http_upgrade;                 proxy_set_header Upgrade $http_upgrade;
-                proxy_set_header Host $host; 
         }         }
         include com.mydomain/certbot.conf;         include com.mydomain/certbot.conf;
 } }
 </file> </file>
 +
 +RomM also support Basic Authantication, and the above configuration file will enable it using Authelia.
  
 Adapt to your needs and restart your NGINX. Adapt to your needs and restart your NGINX.
Line 96: Line 100:
 ===== Autostart ===== ===== Autostart =====
  
-Assuming you are following my [[gentoo:locald|Custom User Services]], all you need to do is creating the following links+To start it, and set it up on boot, as usual follow my indications [[gentoo:containers|Using Containers on Gentoo]], so link the **user-containers** init script
-<code bash+<code> 
-cd /etc/local.d +ln -s /etc/init.d/user-containers /etc/init.d/user-containers.romm
-ln -s _servicer.sh 61-romm--podman.start +
-ln -s _servicer.sh 61-romm--podman.stop+
 </code> </code>
  
-And done.+and create the following config file: 
 +<file - /etc/conf.d/user-containers.romm> 
 +USER=romm 
 +DESCRIPTION="The rom server" 
 +</file>
  
 +Add the service to the default runlevel and start it now:
 +<code bash>
 +rc-update add user-containers.romm default
 +rc-service user-containers.romm start
 +</code>
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information