-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
51 lines (49 loc) · 1.46 KB
/
Copy pathrender.yaml
File metadata and controls
51 lines (49 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Render Blueprint for Albumy (Route A: single instance + persistent disk).
# Create with: Render Dashboard -> New -> Blueprint -> point at this repo.
#
# Notes / trade-offs encoded here:
# - A persistent disk requires a paid instance type (Starter); it is not offered
# on Render's free tier, and it pins the service to a single instance.
# - DATABASE_URL is wired from the managed Postgres below; ProductionConfig reads it.
# - Secrets without values (sync: false) must be filled in the dashboard once.
services:
- type: web
name: albumy
runtime: docker
plan: starter
dockerfilePath: ./Dockerfile
healthCheckPath: /
autoDeploy: true
disk:
name: albumy-data
mountPath: /data
sizeGB: 1
envVars:
- key: FLASK_CONFIG
value: production
- key: FLASK_ENV
value: production
- key: SECRET_KEY
generateValue: true
- key: ALBUMY_UPLOAD_PATH
value: /data/uploads
- key: WHOOSHEE_DIR
value: /data/whooshee
- key: DATABASE_URL
fromDatabase:
name: albumy-db
property: connectionString
# Fill these in the dashboard (Environment tab) after the first create.
- key: ALBUMY_ADMIN
sync: false
- key: MAIL_SERVER
sync: false
- key: MAIL_USERNAME
sync: false
- key: MAIL_PASSWORD
sync: false
databases:
- name: albumy-db
plan: basic-256mb
databaseName: albumy
user: albumy