-
Notifications
You must be signed in to change notification settings - Fork 6
User Management without Docker Compose
Jonas B. edited this page Apr 5, 2025
·
1 revision
When you are not using Docker Compose, or management tools like Portainer or Unraid, you need to access the container's console and manually launch the user management script.
To access the container's console, follow this guide: Access a container's console in Portainer
- Open a terminal on your host machine.
- Run the following command:
docker ps
- Note the ID of the Enterr container.
- Run the following command, replacing NOTED_ID with the actual container ID:
docker exec -it NOTED_ID /bin/bash
python /app/backend/src/user_management.py create_user <USERNAME> <PASSWORD>python /app/backend/src/user_management.py create_user my_username 123456python /app/backend/src/user_management.py delete_user <USERNAME>python /app/backend/src/user_management.py delete_user my_usernamepython /app/backend/src/user_management.py set_password <USERNAME> <NEW_PASSWORD>python /app/backend/src/user_management.py set_password my_username 456789