Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add most basic example of config.js #239

Closed
Industrial opened this issue Mar 24, 2021 · 1 comment
Closed

Add most basic example of config.js #239

Industrial opened this issue Mar 24, 2021 · 1 comment

Comments

@Industrial
Copy link

Hi!

I'm missing an example of how the config.js file is structured.

I read "Start by locating the config.js file in the configuration folder, which depends on how you installed The Lounge." but I am using the Docker image so I don't have a config.js anywhere.

I've created a Dockerfile with:

FROM thelounge/thelounge

ADD config.js /var/opt/thelounge/

I would expect there to be a minimal example of the complete config.js e.g. (not sure if this is correct)

module.exports = {
  // options here
}

This way it's very clear what the file should look like.

gr,

Tom

@ghost
Copy link

ghost commented Mar 24, 2021

https://github.com/thelounge/thelounge/blob/master/defaults/config.js seems fairly straight-forward. If you correctly mounted a volume for the docker container, you most definitely have a config.js somewhere. Where depends on what you did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants