Skip to content

Commit d85ed7a

Browse files
authored
Merge pull request #454 from coollabsio/doc-pr-7352-features
docs: Add Advanced menu location for build argument settings
2 parents 9a9f26c + c18f4e7 commit d85ed7a

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

docs/applications/build-packs/docker-compose.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,18 +152,18 @@ labels:
152152
153153
### Build Arguments
154154
155-
When building images with Docker Compose, Coolify can inject build arguments into your build process.
155+
When building images with Docker Compose, Coolify can inject build arguments into your build process. You can configure these settings in the **Advanced** menu of your application.
156156
157157
#### Inject Build Args to Dockerfile
158158
159-
Controls whether Coolify automatically injects build arguments during the build. Disable this if you want full control over build arguments in your Dockerfile.
159+
Controls whether Coolify automatically injects build arguments during the build. Disable this in the Advanced menu if you want full control over build arguments in your Dockerfile.
160160
161161
- **Enabled (default):** Coolify automatically injects build arguments
162162
- **Disabled:** You manage `ARG` statements yourself in the Dockerfile
163163

164164
#### Include Source Commit in Build
165165

166-
Controls whether the `SOURCE_COMMIT` variable (Git commit hash) is included in builds. Disabled by default to preserve Docker's build cache between commits.
166+
Controls whether the `SOURCE_COMMIT` variable (Git commit hash) is included in builds. Disabled by default to preserve Docker's build cache between commits. You can enable this in the Advanced menu if your build process requires the commit hash.
167167

168168
- **Disabled (default):** `SOURCE_COMMIT` is not included, improving cache utilization
169169
- **Enabled:** `SOURCE_COMMIT` is included as a build argument

docs/applications/build-packs/dockerfile.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,18 @@ Click on the **Environment Variables** tab to add or update them.
7777

7878
Coolify automatically injects build arguments into your Dockerfile during the build process. These include environment variables you've configured and predefined system values like `SOURCE_COMMIT`.
7979

80+
You can configure these settings in the **Advanced** menu of your application.
81+
8082
#### Inject Build Args to Dockerfile
8183

82-
By default, Coolify injects Docker build arguments (`ARG` statements) into your Dockerfile. If you prefer to manage build arguments manually in your Dockerfile, you can disable this behavior.
84+
By default, Coolify injects Docker build arguments (`ARG` statements) into your Dockerfile. If you prefer to manage build arguments manually in your Dockerfile, you can disable this behavior in the Advanced menu.
8385

8486
- **Enabled (default):** Coolify automatically injects build arguments
8587
- **Disabled:** You manage `ARG` statements yourself in the Dockerfile
8688

8789
#### Include Source Commit in Build
8890

89-
The `SOURCE_COMMIT` variable contains the Git commit hash of your source code. By default, this is excluded from the build to preserve Docker's build cache.
91+
The `SOURCE_COMMIT` variable contains the Git commit hash of your source code. By default, this is excluded from the build to preserve Docker's build cache. You can enable this in the Advanced menu if needed.
9092

9193
- **Disabled (default):** `SOURCE_COMMIT` is not included, improving cache utilization
9294
- **Enabled:** `SOURCE_COMMIT` is included as a build argument

0 commit comments

Comments
 (0)