tuxgasy/docker-dolibarr

DOLI_INSTANCE_UNIQUE_ID not set

Opened this issue · 0 comments

I have set up a DOLI_INSTANCE_UNIQUE_ID in order to fix the INSTANCE_UNIQUE_ID across restart because the ID is used for licensing by a paid module. Docker-compose :
image

Docker image documentation :
image

However, this leads to the INSTANCE_UNIQUE_ID being empty according to var_dump() :
image

Also, the documentation state that this ID is set at container creation, but this doesn't seem to happen. According to this var_dump($conf) on a fresh container.
image

For now, I have a workaround by editing the PHP var directly in the file that uses it, but it's not perfect.