- Install
docker,kubernetesanddapr - Initialize dapr on kubernetes cluster
dapr init --kubernetes --wait- more details
- Build docker images (images were not pushed to DockerHub)
docker build -t othello/front:latest -f front/prod.Dockerfile .docker build -t othello/board:latest -f board/prod.Dockerfile .docker build -t othello/cp:latest -f cp/prod.Dockerfile .
- Apply manifests (skip the redis settings for dapr as we don't use it)
kubectl apply -f manifestskubectl port-forward service/othello-front 3000:80
- Install
dockeranddocker-compose - Uncomment entrypoint and run below command
docker-compose up -d --build
Use this souce code as computer Lv3