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

Config File #1

Open
Nerzal opened this issue Jul 23, 2020 · 0 comments
Open

Config File #1

Nerzal opened this issue Jul 23, 2020 · 0 comments
Labels
enhancement New feature or request proposal

Comments

@Nerzal
Copy link
Owner

Nerzal commented Jul 23, 2020

In order to make this CLI work for a broad audience, we have to think of a config structure.

First Proposal:

version: 1
service:
  name: paymentservice
  owner: teamX
health:
  path: /health
  port: 8081
environment:
  - name: ENVIRONMENT
    value: dev
command: ["/usr/bin/tini", "--"]
args: ["/usr/local/bin/entrypoint"]
ports:
  - 8080
  - 8081
limits:
  cpu: 1.0
  memory: 2048
ingress:
  hosts:
    - host: foo.example.com
      path: /paymentservice/
      port: 8080
    - host: foo.example.com
      path: /paymentservice/
      port: 8080
      whitelist:
        - 192.168.0.0/24
autoscaling:
  min: 3
  max: 6
``
@Nerzal Nerzal added enhancement New feature or request proposal labels Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request proposal
Projects
None yet
Development

No branches or pull requests

1 participant