Skip to content

Commit 22bb3d3

Browse files
author
phernandez
committed
render deploy
1 parent 409f9d5 commit 22bb3d3

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
include .env
1+
ifneq (,$(wildcard ./.env))
2+
include .env
3+
export
4+
endif
25

36
.PHONY: install test clean lint lint-fix format migrate-new migrate-up migrate-down migrate-dump migrate-reset
47

render.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,20 @@ services:
1313
value: 1.7.1
1414
- key: PYTHON_VERSION
1515
value: 3.12.1
16+
- key: POSTGRES_USER
17+
fromDatabase:
18+
name: basic-foundation-postgres
19+
property: user
20+
- key: POSTGRES_PASSWORD
21+
fromDatabase:
22+
name: basic-foundation-postgres
23+
property: password
24+
- key: POSTGRES_DB
25+
fromDatabase:
26+
name: basic-foundation-postgres
27+
property: database
28+
- key: POSTGRES_PORT
29+
value: 5432
1630
databases:
1731
- name: basic-foundation-postgres
1832
databaseName: foundation

0 commit comments

Comments
 (0)