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

score-compose provisioners description #8

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions score-compose/10-env.provisioners.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- uri: cmd://python3#dotenv
type: environment
description: Loads environment variables from a local .env file.
args:
- -c
- |
Expand Down
3 changes: 2 additions & 1 deletion score-compose/10-hpa.provisioners.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
- uri: template://hpa-provisioners/empty-hpa
type: horizontal-pod-autoscaler
type: horizontal-pod-autoscaler
description: Returns an empty object because HPA is not supported in Docker Compose.
1 change: 1 addition & 0 deletions score-compose/10-redis-dapr-state-store.provisioners.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- uri: template://default-provisioners/redis-dapr-state-store
type: dapr-state-store
description: Generates a Redis Service and a Dapr's Component in the dapr-components folder pointing to this Redis Service.
class: redis
# Init template has the default port and a random service name and password if needed later
init: |
Expand Down
1 change: 1 addition & 0 deletions score-compose/10-service.provisioners.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- uri: template://service-provisioners/static-service
type: service
description: Returns the name of the Workload dependency if it exists in the list.
init: |
name: {{ splitList "." .Id | last }}
outputs: |
Expand Down