@@ -6,18 +6,18 @@ applications:
66 root : " {{ .ApplicationRoot }}"
77
88 # The runtime the application uses.
9- # Complete list of available runtimes: {{ .Assets.Docs.AppReference }}#types
9+ # Complete list of available runtimes: {{ .Assets.Docs.AppReference }}type/
1010 type : " {{ .Type }}"
1111
1212 # Choose which container profile (ratio CPU+RAM) your app will use. Default value comes from the image itself.
13- # More information: https://docs.upsun.com/manage- resources/adjust-resources.html#adjust-a-container-profile
13+ # More information: https://docs.upsun.com/anchors/ resources/manage/configuration/profiles/ adjust/
1414 # container_profile:
1515
1616 # The relationships of the application with services or other applications.
1717 # The left-hand side is the name of the relationship as it will be exposed
1818 # to the application in the {{ .Assets.EnvPrefix }}_RELATIONSHIPS variable. The right-hand
1919 # side is in the form `<service name>:<endpoint name>`.
20- # More information: {{ .Assets.Docs.AppReference }}# relationships
20+ # More information: {{ .Assets.Docs.AppReference }}relationships/
2121 {{ if .Relationships -}}
2222 relationships :
2323 {{ range $key, $value := .Relationships }}
@@ -29,7 +29,7 @@ applications:
2929 {{ end }}
3030
3131 # Mounts define directories that are writable after the build is complete.
32- # More information: {{ .Assets.Docs.AppReference }}# mounts
32+ # More information: {{ .Assets.Docs.AppReference }}mounts/
3333 {{ if .Mounts -}}
3434 mounts :
3535 {{ range $key, $value := .Mounts -}}
@@ -47,10 +47,10 @@ applications:
4747 {{- end }}
4848
4949 # The web key configures the web server running in front of your app.
50- # More information: {{ .Assets.Docs.AppReference }}# web
50+ # More information: {{ .Assets.Docs.AppReference }}web/
5151 web :
5252 # Commands are run once after deployment to start the application process.
53- # More information: {{ .Assets.Docs.AppReference }}# web- commands
53+ # More information: {{ .Assets.Docs.AppReference }}web/ commands/
5454 {{- if .WebCommand }}
5555 commands :
5656 # The command to launch your app. If it terminates, it’s restarted immediately.
@@ -62,7 +62,7 @@ applications:
6262 # You can use the $PORT or the $SOCKET environment variable depending on the socket family of your upstream
6363 {{- if eq "php" .Runtime }}
6464 # PHP applications run PHP-fpm by default
65- # Read about alternative commands here: {{ .Assets.Docs.PHP }}# alternate-start-commands
65+ # Read about alternative commands here: {{ .Assets.Docs.PHP }}alternate-start-commands/
6666 {{- end }}
6767 # start: echo 'Put your start command here'
6868 {{- end }}
@@ -71,11 +71,11 @@ applications:
7171 # For PHP, the defaults are configured for PHP-FPM and shouldn't need adjustment.
7272 {{- end }}
7373 # Whether your app should speak to the webserver via TCP or Unix socket. Defaults to tcp
74- # More information: {{ .Assets.Docs.AppReference }}#where-to-listen
74+ # More information: {{ .Assets.Docs.AppReference }}web/upstream/socket-family/
7575 {{- if .SocketFamily }}
7676 upstream :
7777 # Whether your app should speak to the webserver via TCP or Unix socket. Defaults to tcp
78- # More information: {{ .Assets.Docs.AppReference }}#where-to-listen
78+ # More information: {{ .Assets.Docs.AppReference }}web/upstream/socket-family/
7979 socket_family : {{ .SocketFamily }}
8080 {{- else }}
8181 # upstream:
@@ -84,7 +84,7 @@ applications:
8484
8585 {{- if .Locations }}
8686 # Each key in locations is a path on your site with a leading /.
87- # More information: {{ .Assets.Docs.AppReference }}# locations
87+ # More information: {{ .Assets.Docs.AppReference }}web/ locations/
8888 locations :
8989 {{ range $key, $value := .Locations -}}
9090 " {{ $key }} " :
@@ -108,18 +108,18 @@ applications:
108108 {{ end }}
109109
110110 # Alternate copies of the application to run as background processes.
111- # More information: {{ .Assets.Docs.AppReference }}# workers
111+ # More information: {{ .Assets.Docs.AppReference }}workers/
112112 # workers:
113113
114114 # The timezone for crons to run. Format: a TZ database name. Defaults to UTC, which is the timezone used for all logs
115115 # no matter the value here. More information: {{ .Assets.Docs.TimeZone }}
116116 # timezone: <time-zone>
117117
118118 # Access control for roles accessing app environments.
119- # More information: {{ .Assets.Docs.AppReference }}# access
119+ # More information: {{ .Assets.Docs.AppReference }}access/
120120 # access:
121121
122- # Variables to control the environment. More information: {{ .Assets.Docs.AppReference }}# variables
122+ # Variables to control the environment. More information: {{ .Assets.Docs.AppReference }}variables/
123123 {{ if .Environment -}}
124124 variables :
125125 env :
@@ -143,11 +143,11 @@ applications:
143143 {{- end }}
144144 {{- end }}
145145
146- # Outbound firewall rules for the application. More information: {{ .Assets.Docs.AppReference }}# firewall
146+ # Outbound firewall rules for the application. More information: {{ .Assets.Docs.AppReference }}firewall/
147147 # firewall:
148148
149149 # Specifies a default set of build tasks to run. Flavors are language-specific.
150- # More information: {{ .Assets.Docs.AppReference }}# build
150+ # More information: {{ .Assets.Docs.AppReference }}build/
151151 {{ if .BuildFlavor -}}
152152 build :
153153 flavor : {{ .BuildFlavor }}
@@ -159,7 +159,7 @@ applications:
159159 # Installs global dependencies as part of the build process. They’re independent of your app’s dependencies and
160160 # are available in the PATH during the build process and in the runtime environment. They’re installed before
161161 # the build hook runs using a package manager for the language.
162- # More information: {{ .Assets.Docs.AppReference }}# dependencies
162+ # More information: {{ .Assets.Docs.AppReference }}dependencies/
163163 {{ if .Dependencies -}}
164164 dependencies :
165165 {{- range $key, $value := .Dependencies }}
@@ -187,10 +187,10 @@ applications:
187187 {{- end }}
188188
189189 # Hooks allow you to customize your code/environment as the project moves through the build and deploy stages
190- # More information: {{ .Assets.Docs.AppReference }}# hooks
190+ # More information: {{ .Assets.Docs.AppReference }}hooks/
191191 hooks :
192192 # The build hook is run after any build flavor.
193- # More information: {{ .Assets.Docs.Hooks }}# build-hook
193+ # More information: {{ .Assets.Docs.Hooks }}compare/ build/
194194 build : |
195195 set -eux
196196 {{ range $step := .BuildSteps }}
@@ -200,7 +200,7 @@ applications:
200200 # echo 'I am a build step'
201201 {{ end }}
202202 # The deploy hook is run after the app container has been started, but before it has started accepting requests.
203- # More information: {{ .Assets.Docs.Hooks }}# deploy-hook
203+ # More information: {{ .Assets.Docs.Hooks }}compare/ deploy/
204204 deploy : |
205205 set -eux
206206 {{ range $deploycmd := .DeployCommand }}
@@ -210,25 +210,25 @@ applications:
210210 {{ end }}
211211
212212 # The post_deploy hook is run after the app container has been started and after it has started accepting requests.
213- # More information: {{ .Assets.Docs.Hooks }}#deploy-hook
213+ # More information: {{ .Assets.Docs.Hooks }}compare/post-deploy/
214214 # post_deploy: |
215215
216216 # Scheduled tasks for the app.
217- # More information: {{ .Assets.Docs.AppReference }}# crons
217+ # More information: {{ .Assets.Docs.AppReference }}crons/
218218 # crons:
219219
220- # Customizations to your PHP or Lisp runtime. More information: {{ .Assets.Docs.AppReference }}# runtime
220+ # Customizations to your PHP or Lisp runtime. More information: {{ .Assets.Docs.AppReference }}runtime/
221221 # runtime:
222222
223- # More information: {{ .Assets.Docs.AppReference }}# additional-hosts
223+ # More information: {{ .Assets.Docs.AppReference }}additional-hosts/
224224 # additional_hosts:
225225
226226# The services of the project.
227227#
228228# Each service listed will be deployed
229229# to power your {{ .Assets.ServiceName }} project.
230230# More information: {{ .Assets.Docs.Services }}
231- # Full list of available services: {{ .Assets.Docs.Services }}# available-services
231+ # Full list of available services: {{ .Assets.Docs.Services }}available/
232232{{- if .Services }}
233233services :
234234 {{ range $value := .Services }}
@@ -252,7 +252,7 @@ routes:
252252 type : upstream
253253 upstream : " {{ .Name }}:http"
254254 # A basic redirect definition
255- # More information: {{ .Assets.Docs.Routes }}#basic- redirect-definition
255+ # More information: {{ .Assets.Docs.Routes }}examples/ redirect/
256256 " https://www.{{ " {default}" }}":
257257 type : redirect
258258 to : " https://{{ " {default}" }}/"
0 commit comments