initial commit
Change-Id: Iefee71f06c72ff9b5dec0e9e7937d0ba1d6bcb3f
This commit is contained in:
26
score.yaml
Normal file
26
score.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: score.dev/v1b1
|
||||
metadata:
|
||||
name: test-44f
|
||||
labels:
|
||||
app: test-44f
|
||||
|
||||
containers:
|
||||
main:
|
||||
image: .
|
||||
variables:
|
||||
DATABASE_URL: "postgresql://${resources.db.username}:${resources.db.password}@${resources.db.host}:${resources.db.port}/${resources.db.name}"
|
||||
APP_SECRET_ID: "${resources.secret.secret_id}"
|
||||
|
||||
service:
|
||||
ports:
|
||||
web:
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
|
||||
resources:
|
||||
env:
|
||||
type: environment
|
||||
db:
|
||||
type: postgres
|
||||
secret:
|
||||
type: azure-keyvault-secret
|
||||
Reference in New Issue
Block a user