Samagra-Development / devops

0 stars 0 forks source link

CLI for service generation #44

Open singhalkarun opened 4 months ago

singhalkarun commented 4 months ago

A CLI that takes important attributes of a service and adds it in the docker-compose.yaml file (if docker-compose.yaml doesn't exists, it creates a docker-compose.yaml)

SERVICE_NAME IMAGE_URL MEM_LIMIT REPLICAS ENVIRONMENT: a:b c:d e:f VOLUMES

Service attributes will be very similar to what we had in K8S.

  1. Onboard a service
  2. Expose a service using caddy - (service name, service port) - Add an entry to Caddyfile (if it doesn't exist create it)
singhalkarun commented 4 months ago

Skipping ENVIRONMENT: a:b c:d e:f and VOLUMES for now.

singhalkarun commented 3 months ago
GJS2162 commented 3 months ago

Link for PR : https://github.com/Samagra-Development/devops/pull/73