Skip to content

Commit 6c69ada

Browse files
Fixed the previous commit.... edited the wrong introduction.md file
1 parent a20a761 commit 6c69ada

File tree

2 files changed

+54
-19
lines changed

2 files changed

+54
-19
lines changed

docs/builds/introduction.md

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,42 @@
11
---
2-
title: Introduction to Deployments
2+
title: Introduction to Builds
33
---
44

5-
<ZoomableImage src="/docs/images/deployments/introduction/banner.webp" />
5+
<ZoomableImage src="/docs/images/builds/introduction/builds-banner.webp" />
66

77
<br />
88

9-
A deployment is the process of releasing a specific version of your application (packaged as a Docker container) to one or more environments. Coolify makes it easy to push updates, preview changes before they go live, and ensure your users never experience downtime.
9+
Coolify deploys all applications as Docker containers. This means your app, database, or website runs inside a container.
1010

11-
## How Deployments Work
12-
- **Container Registry:** Every deployment pulls a Docker image—either built by Coolify or pre–built and pushed to a registry (e.g., Docker Hub, GitHub Container Registry).
13-
- **Deployment Configuration:** You define which image tag to deploy and any runtime settings (environment variables, ports, volumes, secrets).
14-
- **Release Strategy:** Coolify supports multiple deployment strategies to match your needs:
15-
- **Rolling Updates:** Gradually replace old containers with new ones to maintain availability.
16-
- **Instant Rollback:** If something goes wrong, revert to the previous version with a single click.
11+
No matter what you deploy or which build pack you use, it is always run as a Docker container.
1712

1813

19-
## Preview Deployments
20-
- **On‑Demand Previews:** Spin up a temporary environment for each pull request or branch, complete with its own URL.
21-
- **Automatic Cleanup:** Preview deployments are automatically torn down when the branch is closed or merged.
14+
## How Docker Containers Work
15+
- **Docker Image:** To run a container, you need a Docker image.
16+
- **Dockerfile:** The image is built using a Dockerfile, just a file with step-by-step instructions to build the docker image.
17+
- **Build Process:** If you're building your own application, you'll need to create your docker image using a Dockerfile.
18+
- Coolify helps with this build process by letting you use different build packs. A commonly used build pack is [Nixpacks ↗](https://nixpacks.com?utm_source=coolify.io), which automatically prepares a Dockerfile and builds the docker image for you.
2219

2320

24-
## Zero‑Downtime Deployments
25-
- **Health Checks & Readiness Probes:** Coolify waits for new containers to pass health checks before routing traffic.
26-
- **Graceful Shutdown:** Old containers are drained of active connections before being terminated.
21+
## Build Packs in Coolify
22+
Coolify offers build packs like [Nixpack ↗](https://nixpacks.com?utm_source=coolify.io) and **Static Build Pack** that automatically create your Docker image.
2723

28-
## What’s Next?
29-
Explore the pages in the sidebar to learn more about:
30-
- [Preview Deployments ↗](/deployments/previews)
31-
- [Rollbacks ↗](/deployments/rollbacks)
24+
If you need more control over the process, you can write your own Dockerfile and Docker Compose file. In that case, Coolify will use your file to build the image on the server and deploy it as a container.
25+
26+
27+
## Using Pre-built Images
28+
If you already have a Docker image stored in a registry (for example, [Docker Hub ↗](https://hub.docker.com/?utm_source=coolify.io) or [GitHub Container Registry ↗](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry?utm_source=coolify.io)), you can use that image directly in Coolify. This means you do not have to rebuild the image on your server.
29+
30+
31+
## Managing Build Resources
32+
Building Docker images can consume a lot of resources on your server, potentially causing it to crash.
33+
34+
To reduce the load on your main server, Coolify allows you to connect additional servers to manage the build process.
35+
36+
You can set up a separate [build server ↗](/builds/servers) to handle the builds, or use external tools like [GitHub Actions ↗](https://github.com/features/actions?utm_source=coolify.io) to build your images and push them to any container registry.
37+
38+
Once the images are pushed, you can easily use them on Coolify.
39+
40+
41+
## What's Next?
42+
Check the pages in the sidebar to learn more about build packs, build commands, and build servers.

docs/deployments/introduction.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,27 @@ title: Introduction to Deployments
55
<ZoomableImage src="/docs/images/deployments/introduction/banner.webp" />
66

77
<br />
8+
9+
A deployment is the process of releasing a specific version of your application (packaged as a Docker container) to one or more environments. Coolify makes it easy to push updates, preview changes before they go live, and ensure your users never experience downtime.
10+
11+
## How Deployments Work
12+
- **Container Registry:** Every deployment pulls a Docker image—either built by Coolify or pre–built and pushed to a registry (e.g., Docker Hub, GitHub Container Registry).
13+
- **Deployment Configuration:** You define which image tag to deploy and any runtime settings (environment variables, ports, volumes, secrets).
14+
- **Release Strategy:** Coolify supports multiple deployment strategies to match your needs:
15+
- **Rolling Updates:** Gradually replace old containers with new ones to maintain availability.
16+
- **Instant Rollback:** If something goes wrong, revert to the previous version with a single click.
17+
18+
19+
## Preview Deployments
20+
- **On‑Demand Previews:** Spin up a temporary environment for each pull request or branch, complete with its own URL.
21+
- **Automatic Cleanup:** Preview deployments are automatically torn down when the branch is closed or merged.
22+
23+
24+
## Zero‑Downtime Deployments
25+
- **Health Checks & Readiness Probes:** Coolify waits for new containers to pass health checks before routing traffic.
26+
- **Graceful Shutdown:** Old containers are drained of active connections before being terminated.
27+
28+
## What’s Next?
29+
Explore the pages in the sidebar to learn more about:
30+
- [Preview Deployments ↗](/deployments/previews)
31+
- [Rollbacks ↗](/deployments/rollbacks)

0 commit comments

Comments
 (0)