Expired
Milestone
expired on Jul 5, 2023
Create deployment via docker-compose
Milestone ID: 3189
The current deployment happens into existing Kubernetes. However, this might be a waste of resources if k8s is deployed only for o3as. The EPIC is to create a way to deploy via docker-compose.
Deployment steps
- initialise domain names, see o3as-app/templates/job-nsupdate.yml + nsupdate/nsupdate-fedcloud.sh. There is already docker: o3as/nsupdate (needs secrets)
- get let's encrypt certificate (api.o3as.fedcloud.eu and web.o3as.fedcloud.eu)
- download data, see o3as-app/templates/job-get-published-data.yml + scripts/get-published-data.sh
- run two containers for o3api (for simplicity may start with one)
- run one container for o3webapp
- run load balancer (e.g. https://medium.com/@vinodkrane/microservices-scaling-and-load-balancing-using-docker-compose-78bf8dc04da9 )
Later: consider traefik as load balancer (more feature-rich?)