Replies: 1 comment
-
@PES-Dev1 Your thought is correct! 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the default YOURLS image to create a Service in a Docker cluster. Currently, the service is scaled to three individual nodes attached to the same MySQL DB. The system works as intended. At present, there is only one account that has admin access to add, edit, or delete entries. I would like to add additional YOURLS_USER entries for additional 'admins' to manage entries. I tried adding an additional YOURLS_USER to the Docker Service config, but the first YOURLS_USER was ignored and only the second entry could log-in as 'Admin'. (It might be more accurate to say the first entry was replaced by the second entry.)
I tried several times to tweak the Docker Service string to match the $yourls_user_passwords in the config.php without any success. (This may have been wishful thinking on my part.)
My question is this, is it possible to dynamically add YOURLS_USER accounts when it is configured as a Docker Service? I thought about trying a volume mount for the config.php file, but I was not sure if that would be practical.
Beta Was this translation helpful? Give feedback.
All reactions