Skip to content

Commit 38adf92

Browse files
authored
Merge pull request #5233 from platformsh/5232-composable-image-work---fix-link
5232 composable image work - fix link
2 parents 391aeae + 42d2295 commit 38adf92

File tree

45 files changed

+114
-115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+114
-115
lines changed

sites/platform/src/add-services/mysql/troubleshoot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ Behind the scenes, `max_connections` (for Professional and DG3 projects) is calc
151151
max_allowed_packet: 16
152152
```
153153

154-
The memory for a given container from its `size` depends on its [container profile***](/create-apps/app-reference/single-runtime-image.md#container-profiles-cpu-and-memory).
154+
The memory for a given container from its `size` depends on its [container profile](/create-apps/image-properties/size.html#container-profiles-cpu-and-memory).
155155

156-
For example, [MariaDB](/create-apps/app-reference/single-runtime-image.md#container-profile-reference) has a `HIGH_MEMORY` [container profile](/create-apps/app-reference/single-runtime-image.md#high_memory-container-profile).
156+
For example, [MariaDB](/create-apps/image-properties/size.md#container-profile-reference) has a [`HIGH_MEMORY` container profile](/create-apps/image-properties/size.html#container-profiles-cpu-and-memory).
157157
For `size: L`, it means 0.40 CPU and 1280 MB of memory.
158158

159159
If we assume the configuration above, where:

sites/platform/src/add-services/network-storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ and the `done` mount refers to the same directory as the `web/uploads/done` dire
206206

207207
## Worker instances
208208

209-
When defining a [worker](/create-apps/app-reference/single-runtime-image.md#workers) instance,
209+
When defining a [worker](/create-apps/image-properties/workers.md) instance,
210210
keep in mind what mount behavior you want.
211211

212212
`local` mounts are a separate storage area for each instance,

sites/platform/src/add-services/valkey.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ applications:
170170

171171
You can define `<SERVICE_NAME>` as you like, so long as it’s unique between all defined services and matches in both the application and services configuration.
172172

173-
The example above leverages [default endpoint](/create-apps/app-reference/single-runtime-image#relationships) configuration for relationships. That is, it uses default endpoints behind-the-scenes, providing a [relationship](/create-apps/app-reference/single-runtime-image#relationships) (the network address a service is accessible from) that is identical to the name of that service.
173+
The example above leverages [default endpoint](/create-apps/image-properties/relationships.md) configuration for relationships. That is, it uses default endpoints behind-the-scenes, providing a [relationship](/create-apps/image-properties/relationships.md) (the network address a service is accessible from) that is identical to the name of that service.
174174

175-
Depending on your needs, instead of default endpoint configuration, you can use [explicit endpoint configuration](/create-apps/app-reference/single-runtime-image#relationships).
175+
Depending on your needs, instead of default endpoint configuration, you can use [explicit endpoint configuration](/create-apps/image-properties/relationships.md).
176176

177177
With the above definition, the application container now has access to the service via the relationship `<SERVICE_NAME>` and its corresponding [service environment variables](/development/variables/_index.md).
178178

@@ -198,10 +198,10 @@ applications:
198198
You can define ``<SERVICE_NAME>`` and ``<RELATIONSHIP_NAME>`` as you like, so long as it's unique between all defined services and relationships
199199
and matches in both the application and services configuration.
200200

201-
The example above leverages [explicit endpoint](/create-apps/app-reference/single-runtime-image#relationships) configuration for relationships.
201+
The example above leverages [explicit endpoint](/create-apps/image-properties/relationships.md) configuration for relationships.
202202

203203
Depending on your needs, instead of explicit endpoint configuration,
204-
you can use [default endpoint configuration](/create-apps/app-reference/single-runtime-image#relationships).
204+
you can use [default endpoint configuration](/create-apps/image-properties/relationships.md).
205205

206206
With the above definition, the application container now has access to the service via the relationship `<RELATIONSHIP_NAME>` and its corresponding [service environment variables](/development/variables/_index.md).
207207

@@ -344,9 +344,9 @@ relationships:
344344

345345
You can define `<SERVICE_NAME>` as you like, so long as it’s unique between all defined services and matches in both the application and services configuration.
346346

347-
The example above leverages [default endpoint](/create-apps/app-reference/single-runtime-image#relationships) configuration for relationships. That is, it uses default endpoints behind-the-scenes, providing a [relationship](/create-apps/app-reference/single-runtime-image#relationships) (the network address a service is accessible from) that is identical to the name of that service.
347+
The example above leverages [default endpoint](/create-apps/image-properties/relationships.md) configuration for relationships. That is, it uses default endpoints behind-the-scenes, providing a [relationship](/create-apps/image-properties/relationships.md) (the network address a service is accessible from) that is identical to the name of that service.
348348

349-
Depending on your needs, instead of default endpoint configuration, you can use [explicit endpoint configuration](/create-apps/app-reference/single-runtime-image#relationships).
349+
Depending on your needs, instead of default endpoint configuration, you can use [explicit endpoint configuration](/create-apps/image-properties/relationships.md).
350350

351351
With the above definition, the application container now has access to the service via the relationship `<SERVICE_NAME>` and its corresponding [`PLATFORM_RELATIONSHIPS` environment variable](/development/variables/use-variables#use-provided-variables).
352352

@@ -371,10 +371,10 @@ relationships:
371371
You can define ``<SERVICE_NAME>`` and ``<RELATIONSHIP_NAME>`` as you like, so long as it's unique between all defined services and relationships
372372
and matches in both the application and services configuration.
373373

374-
The example above leverages [explicit endpoint](/create-apps/app-reference/single-runtime-image#relationships) configuration for relationships.
374+
The example above leverages [explicit endpoint](/create-apps/image-properties/relationships.md) configuration for relationships.
375375

376376
Depending on your needs, instead of explicit endpoint configuration,
377-
you can use [default endpoint configuration](/create-apps/app-reference/single-runtime-image#relationships).
377+
you can use [default endpoint configuration](/create-apps/image-properties/relationships.md).
378378

379379
With the above definition, the application container now has access to the service via the relationship `<RELATIONSHIP_NAME>` and its corresponding [`PLATFORM_RELATIONSHIPS` environment variable](/development/variables/use-variables.md#use-provided-variables).
380380

sites/platform/src/administration/cli/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ eval $({{% vendor/cli %}} completion)
210210
211211
You can use the {{% vendor/name %}} CLI to run commands on your container.
212212
You can use any command you've added in [dependencies](/create-apps/app-reference/single-runtime-image.md#dependencies)
213-
or a [hook](/create-apps/app-reference/single-runtime-image.md#hooks).
213+
or a [hook](/create-apps/image-properties/hooks.md).
214214

215215
The syntax looks like the following:
216216

sites/platform/src/create-apps/_index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ keywords:
1515
Within a single project, you can have one or more apps and each app can have multiple instances.
1616
Instances are where the same code can be run with different configurations,
1717
such as one for external communication and one for background processes.
18-
Apps and instances use similar properties, with minor differences depending on the image type that you choose:
18+
Apps and instances use similar properties, with minor differences depending on the image type that you choose:
1919
- [Single-runtime image](/create-apps/app-reference/single-runtime-image.md)
2020
- [Composable image](/create-apps/app-reference/composable-image.md)
2121

22-
Not sure which image type to use? See [choosing an image type](/create-apps/app-reference.md).
22+
Not sure which image type to use? See [choosing an image type](/create-apps/app-reference.md).
2323

2424
## A minimal application
2525

@@ -88,7 +88,7 @@ Hooks are places for your custom scripts to control how your app is built and de
8888
## Configure what's served
8989

9090
Once your app is built, it needs a defined way to communicate with the outside world.
91-
Define its behavior with a [`web` instance](/create-apps/app-reference/single-runtime-image.md#web).
91+
Define its behavior with a [`web` instance](/create-apps/image-properties/web.md).
9292
There you can set what command runs every time your app is restarted,
9393
how dynamic requests are handled, and how to respond with static files.
9494

@@ -123,7 +123,7 @@ Unlike other runtimes most PHP applications do not have a start command. There i
123123

124124
{{< /note >}}
125125

126-
The following example shows a setup for a PHP app with comments to explain the settings.
126+
The following example shows a setup for a PHP app with comments to explain the settings.
127127

128128

129129
{{< codetabs >}}
@@ -191,7 +191,7 @@ web:
191191
<--->
192192
193193
+++
194-
title=Composable image
194+
title=Composable image
195195
+++
196196
197197
```yaml {configFile="app"}
@@ -258,4 +258,4 @@ myapp:
258258
passthru: '/app.php'
259259
```
260260
261-
{{< /codetabs >}}
261+
{{< /codetabs >}}

0 commit comments

Comments
 (0)