jgeusebroek / docker-spotweb

A docker image running ubuntu/20.04 Linux and Spotweb
47 stars 27 forks source link

spotweb does not honour PUID nor PGID #61

Open WeterPeter opened 1 year ago

WeterPeter commented 1 year ago

I'd like to run under different UID and GID however this docker aparanly does not honour there paramerers? I use these settings:

sudo docker run -d --hostname=spotweb --name=spotweb -p 9096:80 -e TZ=Europe/Amsterdam -e 'SPOTWEB_DB_TYPE=pdo_mysql' -e 'SPOTWEB_DB_HOST=192.168.1.1' -e 'SPOTWEB_DB_PORT=3306' -e 'SPOTWEB_DB_NAME=dbname' -e 'SPOTWEB_DB_USER=username' -e 'SPOTWEB_DB_PASS=password' -e 'SPOTWEB_CRON_RETRIEVE:/15 ' -e 'SPOTWEB_CRON_CACHE_CHECK:10 /1 *' -v /volume1/docker/spotweb:/config --restart always --network=bridge jgeusebroek/spotweb

I still seems to run under UID 33 and GiD 33 :

-rw------- 1 33 33 213 Jun 21 12:36 dbsettings.inc.php -rw-r--r-- 1 33 33 0 Jun 21 12:36 ownsettings.php

bartmans commented 2 months ago

You didn't specify a PUID nor GUID. Use -e PUID = and -e GUID = with approriate IDs.

WeterPeter commented 2 months ago

Thank, I fixed it already.