Skip to content

Commit

Permalink
Merge pull request #108 from OneBusAway/add-pg-to-render
Browse files Browse the repository at this point in the history
Enhances render.yaml file for easier deployments
  • Loading branch information
aaronbrethorst authored Nov 12, 2024
2 parents 98ce507 + 47087ac commit 2d0ed28
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ services:
region: oregon
plan: standard
numInstances: 1
healthCheckPath: /onebusaway-api-webapp/api/where/current-time.json?key=org.onebusaway.iphone
autoDeploy: false
healthCheckPath: /api/where/current-time.json?key=org.onebusaway.iphone
autoDeploy: true
envVars:
- key: TZ
sync: false
Expand All @@ -29,16 +29,27 @@ services:
- key: AGENCY_ID
sync: false
- key: JDBC_USER
sync: false
fromDatabase:
name: oba-postgresql
property: user
- key: JDBC_PASSWORD
sync: false
fromDatabase:
name: oba-postgresql
property: password
- key: JDBC_URL
sync: false
fromDatabase:
name: oba-postgresql
property: connectionString
- key: JDBC_DRIVER
sync: false
value: org.postgresql.Driver
- key: PORT
value: 8080
disk:
name: Bundle
mountPath: /bundle
sizeGB: 1

databases:
- name: oba-postgresql
databaseName: obadb
plan: basic-256mb

0 comments on commit 2d0ed28

Please sign in to comment.