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

Configuration for docker-compose #56

Closed
martinvalenta opened this issue Mar 20, 2023 · 7 comments
Closed

Configuration for docker-compose #56

martinvalenta opened this issue Mar 20, 2023 · 7 comments

Comments

@martinvalenta
Copy link

What changes in docker-compose.yml are required so that I can log in locally? Only setting rootEmail doesn't work.

@timschloe
Copy link
Contributor

same question here, I still fail to set up the accounts.

@palindaa
Copy link
Collaborator

palindaa commented Mar 24, 2023

This is due to the root user account creation email send. By default EMAIL related configs does not added to the docker-compose file. Missed to update the documentation on this.
Please check the updated documentation in the develop branch. https://github.com/undp/carbon-registry/tree/develop#run-services-as-containers. Use develop branch as well.

@timschloe
Copy link
Contributor

Please check the updated documentation in the develop branch. https://github.com/undp/carbon-registry/tree/develop#run-services-as-containers. Use develop branch as well.

I'm gettting
Error: No such container: undp-carbon-registry-national-1
=> docker ps gives

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3fbc9fb7391a carbon-registry_stats "docker-entrypoint.s…" 3 minutes ago Up 3 minutes 0.0.0.0:3100->3100/tcp carbon-registry_stats_1
7ecbe663e4f8 carbon-registry_web "/docker-entrypoint.…" 3 minutes ago Up 3 minutes 80/tcp, 0.0.0.0:3030->3030/tcp carbon-registry_web_1
9139428d81ad postgres "docker-entrypoint.s…" 3 minutes ago Up 3 minutes 0.0.0.0:5432->5432/tcp db

Neither of the two container logs has the word "temporary" in it.

Retrying with email, but pain to get SMTP up...

@palindaa
Copy link
Collaborator

palindaa commented Apr 4, 2023

@timschloe Please verify your national docker container has environment variable IS_EMAIL_DISABLED and value set to "true".

If not please update the git with latest main branch changes.

@timschloe
Copy link
Contributor

thank you, resolved this one. There will be a few more coming, I'm a noob & Mark is sick, sorry.
(my goal is to have a copy-pasteable install guide from SSh into a fresh, plain alpine Linode)

@palindaa
Copy link
Collaborator

palindaa commented Apr 4, 2023

Happy to help. and please let me know if any missing parts in the documentation. I'll improve the documentation as well.

@timschloe
Copy link
Contributor

Building a new container right now.

As soon as I'm in my own system as admin, I'll do an installation run through on Twitch :-) I'm thinking of a tutorial series for the key elements of setting up nationally. (next videos then need to include changing country name etc. pp.)

mbelinsky pushed a commit that referenced this issue Apr 11, 2023
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

4 participants