-
Notifications
You must be signed in to change notification settings - Fork 0
/
copier.yaml
72 lines (57 loc) · 1.43 KB
/
copier.yaml
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
# Questions
accountname:
type: str
help: The name of the organization on GitHub
default: radio-aktywne
appname:
type: str
help: The name of the app
description:
type: str
help: A short description of the app
reponame:
type: str
help: The name of the repository
default: "{{ appname }}"
repourl:
type: str
help: The URL of the repository
default: "https://github.com/{{ accountname }}/{{ reponame }}"
envprefix:
type: str
help: The prefix for environment variables
default: "{{ appname | upper | replace('-', '_') }}"
port:
type: int
help: The port on which the app will listen
default: 3000
keyprefix:
type: str
help: The prefix for various keys used in the app (e.g. for storage)
default: "{{ appname | lower | replace('_', '-') }}"
docs:
type: bool
help: Whether to include a documentation site for the app
default: true
docsurl:
type: str
help: The URL of the documentation site for the app
default: "https://{{ accountname }}.github.io/{{ reponame }}"
when: "{{ docs }}"
releases:
type: bool
help: Whether you plan to make releases
default: true
registry:
type: bool
help: Whether you want to publish Docker images to a GitHub Container Registry
default: true
when: "{{ releases }}"
imagename:
type: str
help: The name of the Docker image
default: "apps/{{ appname }}"
when: "{{ registry }}"
# Configuration
_subdirectory: src
_answers_file: .copier-answers.yaml