Skip to content

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.

1. Access the container

Portainer

To access the container's console, follow this guide: Access a container's console in Portainer

Unraid / Docker

  1. Open a terminal on your host machine.
  2. Run the following command:
docker ps
  1. Note the ID of the Enterr container.
  2. Run the following command, replacing NOTED_ID with the actual container ID:
docker exec -it NOTED_ID /bin/bash

2. Run the user management script

Create a user

python /app/backend/src/user_management.py create_user <USERNAME> <PASSWORD>
python /app/backend/src/user_management.py create_user my_username 123456

Delete a user

python /app/backend/src/user_management.py delete_user <USERNAME>
python /app/backend/src/user_management.py delete_user my_username

Set a different password

python /app/backend/src/user_management.py set_password <USERNAME> <NEW_PASSWORD>
python /app/backend/src/user_management.py set_password my_username 456789
Clone this wiki locally