-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbaker.yaml
More file actions
138 lines (119 loc) · 2.83 KB
/
baker.yaml
File metadata and controls
138 lines (119 loc) · 2.83 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
schemaVersion: v1
import_root: "templates"
template_globs:
- "**/*.jinja"
- "*.jinja"
exclude_globs:
- "generated/**"
- "generated-*/**"
- "sample/**"
- ".git/**"
- "target/**"
follow_symlinks: true
questions:
project_name:
type: str
help: Please enter the name of your application
default: "my_app"
project_author:
type: str
help: "Please enter the author's name for {{project_name}}"
project_version:
type: str
help: Please enter the version of the project
default: "0.1.0"
project_edition:
type: str
help: Please enter the edition of the project
default: "2021"
authentication:
type: str
help: What authentication method do you want to use?
default: none
choices:
- jwt
- oidc
- none
database:
type: str
help: What database do you want to use?
default: postgres
choices:
- postgres
use_seaorm_migrations:
type: bool
help: Do you want to use SeaORM migrations?
default: true
ask_if: database == 'postgres'
db_schema:
type: str
help: What PostgreSQL schema should tables be created in?
default: public
ask_if: database == 'postgres'
id_type:
type: str
help: What type should primary keys use?
default: integer
choices:
- integer
- uuid
- big_integer
features:
type: str
help: What features do you want to enable?
multiselect: true
default:
- open-telemetry
choices:
- open-telemetry
- helm
protocols:
type: str
help: What protocols to generate the API with?
multiselect: true
default:
- rest
choices:
- rest
- grpc
frontend:
type: str
help: What frontend do you want to generate?
default: none
choices:
- shadcn-admin-kit
- leptos
- none
automod:
type: bool
help: Do you want to use automod for automatic module generation?
default: true
docker_hardened_images:
type: bool
help: Do you want to use hardened images for Docker?
default: true
upx:
type: bool
help: Do you want to use UPX to compress the binary in the Docker image?
default: true
include_in_dockerfile:
type: str
help: "Files to include in the Docker image. Comma-separated list; each entry is 'source' (copies to the same path) or 'source:target' (e.g. config or config/app.toml:/app/config/app.toml)."
default: "config"
validation:
condition: "include_in_dockerfile|regex('^$|^[^,\\s]+(:[^,\\s]+)?(,[^,\\s]+(:[^,\\s]+)?)*$')"
ci_cd:
type: str
help: What scripts for CI/CD do you want to generate?
multiselect: true
default:
- github
choices:
- github
entities:
type: json
help: Configure your entities
schema_file: "templates/strapi.schema.json"
default: |
{
}