Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[93] feat: implement docker command #135

Open
2 tasks done
techsavvyash opened this issue Jun 19, 2024 · 3 comments
Open
2 tasks done

[93] feat: implement docker command #135

techsavvyash opened this issue Jun 19, 2024 · 3 comments
Assignees

Comments

@techsavvyash
Copy link
Member

techsavvyash commented Jun 19, 2024

Description

The docker command should allow for two things:

  • Tooling specific setup
    • command like stencil docker monitoring should setup the docker-compose files necessary for the monitoring tooling setup with Prometheues, Grafana and NodeExporter. This will be maintained and done via the schematics itself.
  • À la Carte setup
    • command like stencil docker postgres should ask the user whether they want to add the add this to an existing docker-compose file or whether they want a new file to be setup for this and that update accordingly. In case of a new file the start-docker.sh should be updated to incorporate the new file.

Refer #88 for an extensive list of the things we need to support.

@Savio629
Copy link
Collaborator

Issue: #93

@Savio629
Copy link
Collaborator

Savio629 commented Jun 25, 2024

docker.command.1.mp4
docker-start.sh.-.docker.-.Visual.Studio.Code.2024-07-09.21-14-18.mp4
  • Tooling specific setup
  • À la Carte setup
    • path argument
  • Updated docker-start.sh
  • test

@Savio629
Copy link
Collaborator

Savio629 commented Jul 14, 2024

  • Removed logging while bootstraping the project (as it was only generating docker files and no code level generation
  • Merged monitoring and monitoringService
  • Implemented --skip-docker flag
    • stencil new projectName --skip-docker will skip the docker files if the services are selected at next step.
  • Implemented stencil docker <services...> command to generate the docker files
    • Tooling specific setup - monitoring, temporal, logging
    • À la Carte setup - postgres, hasura, minio, fusionauth
  • Updated the docker-start.sh file and implemented --path (example: stencil docker postgres --path src/test)
  • Test suites for docker command
  • Resolved all the comments on the pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants