umputun / remark42

comment engine
https://remark42.com
MIT License
4.81k stars 374 forks source link

The required flags `--secret` and `--url` were not specified #1663

Closed camachom closed 1 year ago

camachom commented 1 year ago

Hello! Thanks for building this awesome comment engine.

I'm running into an issue with a fresh install. After running docker compose up as root, I get the following:

remark42  | changing ownership of /srv/var to app:app (remark42 user inside the container)
remark42  | execute /srv/remark42 server
remark42  | remark42 v1.12.1-1f2500f-20230821T11:59:46
remark42  | the required flags `--secret' and `--url' were not specified

I'm assuming the provided docker-compose.yml should be enough to run this container.

Any ideas? I apologize if I missed something in the instructions or if the fix is obvious, but I've spent a good amount of time and can't figure it out.

umputun commented 1 year ago

the provided https://github.com/umputun/remark42/blob/master/docker-compose.yml#L24C1-L26C15 expects user to set those vars in the environment

pls use discussion for similar questions. issue is for the real problem what should be fixed, I'll move it