Tested with
docker
version20.10.5
docker-compose
version1.28.5
on Debian GNU/Linux 10 (buster)
docker-compose build
docker-compose up -d
# open browser http://localhost/
Download kompose
. See url
# run this command on the same folder where is docker-compose.yml
kompose convert
Will be created these files: deployment and service files for k8s
poc-nginx-proxy-deployment.yaml
poc-nginx-proxy-service.yaml
poc-reactjs-app-deployment.yaml
poc-reactjs-app-service.yaml