initial commit
Change-Id: I4fbf6200bbec6906144e03024588f3c660990c26
This commit is contained in:
31
score.yaml
Normal file
31
score.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
apiVersion: score.dev/v1b1
|
||||
metadata:
|
||||
name: jonathan-demo-02
|
||||
labels:
|
||||
app: jonathan-demo-02
|
||||
|
||||
containers:
|
||||
main:
|
||||
image: .
|
||||
variables:
|
||||
DATABASE_URL: "postgresql://${resources.db.username}:${resources.db.password}@${resources.db.host}:${resources.db.port}/${resources.db.name}"
|
||||
STORAGE_CONTAINER_NAME: "${resources.storage.container_name}"
|
||||
STORAGE_ACCOUNT_NAME: "${resources.storage.storage_account_name}"
|
||||
BLOB_ENDPOINT: "${resources.storage.blob_endpoint}"
|
||||
APP_SECRET_ID: "${resources.secret.secret_id}"
|
||||
|
||||
service:
|
||||
ports:
|
||||
web:
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
|
||||
resources:
|
||||
env:
|
||||
type: environment
|
||||
db:
|
||||
type: postgres
|
||||
storage:
|
||||
type: azure-blob
|
||||
secret:
|
||||
type: azure-keyvault-secret
|
||||
Reference in New Issue
Block a user