Hello i want to create two gitlab servers on one docker!
for example:
sudo docker run --detach \
--hostname gitlab.server1.com \
--publish 1443:443 --publish 1080:80 --publish 1022:22 \
--name gitlab-server1 \
--restart always \
--volume $GITLAB_HOME/config:/etc/gitlab \
--volume $GITLAB_HOME/logs:/var/log/gitlab \
--volume $GITLAB_HOME/data:/var/opt/gitlab \
gitlab/gitlab-ee:latest
sudo docker run --detach \
--hostname gitlab.server2.com \
--publish 2443:443 --publish 2080:80 --publish 2022:22 \
--name gitlab-server2 \
--restart always \
--volume $GITLAB_HOME/config:/etc/gitlab \
--volume $GITLAB_HOME/logs:/var/log/gitlab \
--volume $GITLAB_HOME/data:/var/opt/gitlab \
gitlab/gitlab-ee:latest
Is it necessary to change the the volume paths also and something else to take care?
Thank you in advance