Docker compose ssl


dockerfile – generate a self signed certificate in docker – Stack Overflow


learning-docker/1-getting-started-guide/rmq5-portainer-ssl at main · spawnmarvel/learning-docker · GitHub

Lets test the ssl script first, since we know that rmq and portainer works.

All files are moved

cd rmq5-portainer-ssl
~/rmq5-portainer-ssl$ bash


How about that?!

Now we need to copy the cert and edit the Dockerfile and rabbitmq.config (view github Dockerfile)

# stil in rmq5-portainer-ssl
docker compose up -d

docker compose logs or view portainer

Add a queue and msg

docker compose down

docker compose up -d

Persistent = yes