Skip to content

Commit

Permalink
add configuration for UPS
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorwolf committed Nov 17, 2023
1 parent 3235d41 commit 2515aa6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions mta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ modules:
memory: 256MB
tasks:
- name: deploy-to-postgresql
command: npm start
command: ./task.sh
disk-quota: 1GB
memory: 256MB
buildpack: nodejs_buildpack
build-parameters:
ignore:
- "node_modules/"
requires:
# - name: pg-beershop-external-database
- name: pg-beershop-database

# ----------------- DB-UI with adminer -----------------------
Expand Down Expand Up @@ -118,9 +119,12 @@ resources:
service-tags:
- plain

# For a second deploy use
# npm run deploy:cf:update
# this will use the update.mtaext
# - name: pg-beershop-external-database
# type: org.cloudfoundry.user-provided-service
# parameters:
## path: ./default-azure-ups-env.json
# path: ./default-btp-ups-env.json
# service-tags: ["relational", "database","plain"]

- name: pg-beershop-destination-service
parameters:
Expand Down

0 comments on commit 2515aa6

Please sign in to comment.