forked from ericfrederich/docker-ampache
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Running the container as a user other than root (as highly recommended for security reasons) results in several errors as the various startup scripts attempt to "fix" permissions, causing more issues as a result.
The causes of this appear to be:
chown -R www-data:www-data /var/www/config /var/log/ampache ampache-docker/data/bin/run.sh
Line 6 in f3cc489
mysql_install_db --auth-root-authentication-method=normal --user=mysql user=root
Additionally, the UID and GID environment variables are not defined, however setting them in attempt to resolve the above issues simply causes more errors.
| groupmod -o -g "$GID" www-data |
lachlan-00
Metadata
Metadata
Assignees
Labels
No labels