0

I am managing users via the realm.properties file located in home/rundeck/server/config directory until an LDAP/AD solution is implemented. Everytime I updated the ECS/container task, the users I created using the previous container is deleted. I believe this is due to the lifecycle management of the container?

Is there any other way to manage users with Rundeck community?

Thanks.

skp15
  • 23
  • 6

1 Answers1

0

You can use a realm.properties file as a volume (supported by ECS). In that way, you can use a local / persistent custom realm.properties file. Take a look at this example:

The docker-compose.yml file.

services:
  rundeck:
    image: rundeck/rundeck:4.6.1
    environment:
      - RUNDECK_GRAILS_URL=http://localhost:4440
    volumes:
      -  ./data/realm.properties:/home/rundeck/server/config/realm.properties
    ports:
      - "4440:4440"
    restart: unless-stopped

The realm.properties local file (stored at the data directory, at the same level as the docker-compose.yml file).

admin:admin,user,admin
user:user,user
bob:bob,user,admin

Other options:

  1. Process Automation (formerly "Rundeck Enterprise") includes a GUI User Management feature.

  2. As you said, LDAP / AD integration.

MegaDrive68k
  • 3,768
  • 2
  • 9
  • 51
  • Interesting, thank you! Per AWS documentation, seems like `Docker volumes are only supported when using the EC2 launch type or external instances.` I am using the `Fargate` mode to run `Rundeck`. I will check if I can use the `EC2` launch type. Should I need to make use of a Database to store this volume? ```"labels": { "database": "database_name" }``` – skp15 Sep 21 '22 at 18:35
  • I am asking about the database in regards to `./data/realm.properties:`. What is that path referring to? – skp15 Sep 21 '22 at 18:58
  • Hi! That file is a local file, take a look at this: https://stackoverflow.com/a/42260979/10426011 – MegaDrive68k Sep 21 '22 at 20:14