Repository navigation
Expand file tree
/
Copy pathlocal-only.yml
More file actions
72 lines (65 loc) · 1.52 KB
/
Copy pathlocal-only.yml
File metadata and controls
72 lines (65 loc) · 1.52 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Local Development Example
# Simple example for local development without cloud providers
variables:
environment: local
secrets:
# Database password for local development
- name: db_password
kind: random_password
config:
length: 16
special: false # Easier to work with locally
targets:
- provider: local
kind: file
config:
path: .env
format: dotenv
merge: true
# API key placeholder
- name: api_key
kind: random_string
config:
length: 32
charset: hex
targets:
- provider: local
kind: file
config:
path: .env
format: dotenv
merge: true
# Configuration as JSON
- name: app_config
kind: templates.app_settings
templates:
app_settings:
description: Application configuration
fields:
database_url:
description: PostgreSQL database connection URL
generator:
kind: static
config:
default: postgresql://user:pass@localhost:5432/mydb
redis_url:
description: Redis server connection URL
generator:
kind: static
config:
default: redis://localhost:6379/0
debug:
description: Debug mode flag
generator:
kind: static
config:
default: "true"
targets:
- provider: local
kind: file
config:
path: config.json
format: json
metadata:
project: local-development
owner: developer