Hi all,
I have a multi container solution with several containers include several DotnetCore API and webapp containers, Nginx as reverse proxy and also PostgerSql container.
I’m running this solution on several on-premise sites. on Ubuntu with docker and docker-compose, all in one docker host. no Kubernetes or such. and everything work fine.
BUT
I’m thinking about hardening my application to be more secure and more performance pointed. I got some recommendation about FCOS.
I went to your very nice getting started web pages, read carefully and learned about and FCOS as I’m completely new to FCOS and even to Fedora.
Now, I have FCOS up and running on Azure, but I’m “Stuck” on how to run my containers all together as I do now with docker-compose.yml file.
As I understands I have 2 options:
- Run my docker-compose in another container with sharing of docker.socket.
- Run all containers one by one from the ignition file as systemd units.
I hope i didn’t wrote too much nonsense up there, my instincts tells me to go to second option but I couldn’t find any documentation how to create multi containers with same networking definition, health checks, restart definitions and so on, as I do in docker-compose.
if can someone please can shade a light about this topic and suggest me where to go and read more about that?
thanks in advanced!
Eran.