Skip to content

CLI for service generation #44

Open

Description

@singhalkarun

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)

Activity

  1. singhalkarun commented on Jul 31, 2024

    @singhalkarun
    CollaboratorAuthor

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

  2. singhalkarun commented on Aug 12, 2024

    @singhalkarun
    CollaboratorAuthor
    • don't allow adding service on root level, only allow inside a folder
    • if the folder doesn't exist, create a folder and add service inside it
  3. GJS2162 commented on Aug 14, 2024

    @GJS2162
    Collaborator

    Link for PR : #73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions