-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
44 lines (44 loc) · 1.26 KB
/
render.yaml
File metadata and controls
44 lines (44 loc) · 1.26 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
services:
- type: web
name: parkhub-php-demo
runtime: image
# Pull pre-built image from GHCR — avoids re-running npm+composer on Render
# Image is built by GitHub Actions (.github/workflows/docker-publish.yml) on every push
image:
url: ghcr.io/nash87/parkhub-php:latest
port: 10000
plan: free
envVars:
- key: APP_ENV
value: production
- key: APP_DEBUG
value: "false"
- key: APP_HSTS
value: "true"
- key: APP_URL
# ⚠️ UPDATE THIS after creating the Render service (copy the .onrender.com URL)
value: https://parkhub-php-demo.onrender.com
- key: APP_KEY
generateValue: true
- key: METRICS_TOKEN
generateValue: true
- key: DB_CONNECTION
value: sqlite
- key: DB_DATABASE
value: /var/www/html/database/database.sqlite
- key: DEMO_MODE
value: "true"
- key: PARKHUB_ADMIN_EMAIL
value: admin@parkhub.test
- key: PARKHUB_ADMIN_PASSWORD
value: demo
- key: ALLOW_SELF_REGISTRATION
value: "false"
- key: SESSION_DRIVER
value: file
- key: CACHE_STORE
value: file
- key: LOG_CHANNEL
value: stderr
- key: MAIL_MAILER
value: log