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

added docker-compose exec server bash command in readme.md at line 133 #410

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ To login to the Dashboard the first time, you will have to create an admin accou

sh add-admin.sh admin password http://127.0.0.1:8080/auth/signup

If Sugarizer Server was deployed using Docker Compose, use these commands to create an admin account:

docker-compose exec server bash
sh add-admin.sh admin password http://127.0.0.1:80/auth/signup

Note: For security reasons, the script should be launched from the local machine. On Docker, attach a new shell to the container and launch the script from this shell - in that case the port to use should be 80, not 8080.

Where **admin** is the login for the new admin account and **password** is the password.
Expand Down