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

SPEC: Add a new key in the root of the config file for services #61

Closed
xmnlab opened this issue Feb 27, 2023 · 5 comments
Closed

SPEC: Add a new key in the root of the config file for services #61

xmnlab opened this issue Feb 27, 2023 · 5 comments
Labels
Milestone

Comments

@xmnlab
Copy link
Contributor

xmnlab commented Feb 27, 2023

Add a new key in the root of the config file for services. Example:

version: 1.0.0
compose-app: docker-compose
env-file: .env
services:
  default: service1,service3
  list:
    - name: service1
      health-check: true
    - name: service2
      health-check: false
    - name: service3
      health-check: true

when the services item is given, groups should not be given, otherwise it should raise an error.

@xmnlab xmnlab added the spec label Feb 27, 2023
@xmnlab
Copy link
Contributor Author

xmnlab commented Feb 27, 2023

example for a call:

containers-sugar start

@xmnlab
Copy link
Contributor Author

xmnlab commented Feb 27, 2023

example of an error message for a spec conflict for groups and services:

`services` and `groups` flag given. Just use one of them is allowed.

@xmnlab xmnlab added this to the OSL-C202301 milestone Nov 13, 2023
@joel5vega
Copy link
Contributor

**
image
**
Hi @xmnlab , I am trying to use this logic, is it ok?

@xmnlab
Copy link
Contributor Author

xmnlab commented Jan 8, 2024

not sure ... it is not really clear what it is doing

@xmnlab
Copy link
Contributor Author

xmnlab commented Jan 29, 2024

fixed by #110 . thanks @joel5vega

@xmnlab xmnlab closed this as completed Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants