forked from score-spec/score-compose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscore.yaml
executable file
·35 lines (27 loc) · 842 Bytes
/
score.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Score provides a developer-centric and platform-agnostic
# Workload specification to improve developer productivity and experience.
# Score eliminates configuration management between local and remote environments.
#
# Specification reference: https://docs.score.dev/docs/reference/score-spec-reference/
---
# Score specification version
apiVersion: score.dev/v1b1
metadata:
name: example
containers:
hello-world:
image: nginx:latest
# Uncomment the following for a custom entrypoint command
# command: []
# Uncomment the following for custom arguments
# args: []
# Environment variables to inject into the container
variables:
EXAMPLE_VARIABLE: "example-value"
service:
ports:
# Expose the http port from nginx on port 8080
www:
port: 8080
targetPort: 80
resources: {}