简体   繁体   中英

Can we have more than one installation of Rundeck in a Linux server?

I have one installation of Rundeck in a Linux server and it is up & running on port 4440. But I want to have one more installation of it and expecting it to run on other port. Is it possible? This question may look weird but I want to have additional setup of Rundeck due to personal reasons.

Eagerly looking for help. Thanks in advance.

You can test your "Personal instance" with a docker container without touch the "real instance" (or use two docker containers if you want), in both cases, you need to specify different ports (for example 4440 for "real" instance/container and 5550 to "test" container).

Here you have the official docker image, here about how to run, check the "Environment variables" section to specify the TCP port of each container (also, you have a lot of params to test). And here you have a lot of configurations to test (LDAP, DB backends, etc..).

If you use Rundeck with Docker you must change the init.sh.

He is responsible of configuration overwrite at each container creation, so all your configuration updates are lost.

Doing this also avoid to have clear configuration params i' your docker-compose file...

The steps are :

  • create docker-compose file as mentioned on Rundeck Docker hub

  • map volumes on your host so you can save rundeck's files and directory

  • stop your container

  • comment config overwrite in init.sh

  • restart your container

You can then update rundeck's config on the fly and just restart rundeck container to see the changes...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM