nurdism / neko

A self hosted virtual browser (rabb.it clone) that runs in docker.
Apache License 2.0
2.03k stars 186 forks source link

[FEATURE] Open browser to START_URL #100

Closed leewardbound closed 3 years ago

leewardbound commented 3 years ago

Hi, I have been struggling to add a simple feature, I can't seem to get the environment variables to pass correctly, I'm not sure what is going wrong --

I want to support a START_URL variable for the browser to automatically open to a page (passed in as configuration to the docker container at launch time).

I tried adding it in the launch command .docker/files/chromium/supervisor.conf but I think I'm missing something else; it's hard to tell what is going on because I don't fully understand these docker build layers yet.

Can anyone help me get this working?

leewardbound commented 3 years ago

I tested this fix by mounting the chromium.conf file from outside the container and setting the env variable at the docker container! See #101