Hello,

you can also set LAVA_SITE env variable in the docker-compose to lava-server container. The entrypoint script will create/set the django site for you.


Rgds

Le jeu. 4 févr. 2021 à 15:19, Westermann, Oliver <Oliver.Westermann@cognex.com> a écrit :

Hey,

 

the best problems are those you solve yourself 😉

After digging in the sources for a day a simple “there is a menu” didn’t occur to me, but after another task and a coffee, behold, there is a menu for that.

In case sb stubles across this message:

LAVA -> Administration Backend -> Sites -> Edit your Site -> tadaaaa!

 

Best regards, Olli

 

Von: Westermann, Oliver
Gesendet: Donnerstag, 4. Februar 2021 13:24
An: lava-users@lists.lavasoftware.org
Betreff: Configuring Site and domain for docker-compose setup

 

Hey,

 

I’m hosting a lava-setup for us which is based upon the lava-docker-compose setup from here https://git.lavasoftware.org/lava/pkg/docker-compose

 

I managed to configure Django to use a EMAIL_HOST which allows me to notify my users. However dbutils.get_domain() returns example.com and some digging lead me to the site setup from Django. I’m not entirely sure how it’s intended to work but I would expect that LAVA fetches the host to use from .env, where I specified DC_LAVA_SERVER_HOSTNAME=lava.mydomain.com.

 

Where would I set that or what did I miss?

 

Also:
I figured out a few details about the docker-compose setup by now, eg how to configure LDAP. Where would I add such documentation? A PR to the docs?

 

Best regards, Olli

_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


--
Rémi Duraffort
LAVA Architect
Linaro