- DS718+, DS918+, 2x RS3614RPxs+
- Operating system
- Mobile operating system
Do you have
YOURLS_SITEvariable defined pointing to your own domain?
That variable is an environment variable, no need to put it in the config fileThanks for getting back. If I put that environment variable in the config file and enter my NAS ip address and port 3000 it redirects to the domain name and 404 not found.
Not sure I understand 100% this. Would it be a problem to post back how your container (yourls) is setup?Yes, using the settings you suggested in the short tutorial and substituting in my NAS ip address for the mariadb.
config.phpfile and search for:
$yourls_user_passwords = array( getenv('YOURLS_USER') => getenv('YOURLS_PASS'), 'yourusername' => 'passwordxxxxxx'
Are we talking about link shortener here or what password exactly? Also, how does your mapping look like regarding this container?Can someone please tell me how to edit the config while running it in a docker container? I want to change the password set on first installation.
Do you have a config file for that container mapped (/var/www/html/user/config.php)? Inside it you can define user and pass (previous posts)Yes - the yourls admin password for entering the webgui. The value fot user/pw in the docker container were used for the installation, but I cant change it afterwards. Unfourtunately I dont know how to change the Docker Image through the terminal,