You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Branch:** Coolify will automatically detect the branch in your repository.
45
45
-**Base Directory:** Enter the directory that Coolify should use as the root. Use `/` if your files are at the root or specify a subfolder (like `/backend` for a monorepo).
@@ -113,7 +113,7 @@ services:
113
113
- SOME_DEFAULT_VARIABLE=${OTHER_NAME_IN_COOLIFY:-hello} # Sets a default value "hello" that can be edited.
@@ -292,15 +292,15 @@ By default, each compose stack is deployed to a separate network named after you
292
292
293
293
If you want to connect services across different stacks (for example, linking an application to a separate database), enable the **Connect to Predefined Network** option on your Service Stack page.
Note that you must use the full name (like `postgres-<uuid>`) when referencing a service in another stack.
298
298
299
299
### Raw Docker Compose Deployment
300
300
301
301
For advanced users, Coolify offers a "Raw Compose Deployment" mode. This option lets you deploy your Docker Compose file directly without many of Coolify's additional configurations.
-**Branch:** Coolify will automatically detect the branch in your repository.
46
46
-**Base Directory:** Enter the directory that Coolify should use as the root. Use `/` if your files are at the root or specify a subfolder (like `/backend` for a monorepo).
@@ -54,7 +54,7 @@ After clicking **Continue**, update settings like your domain and environment va
54
54
The important option is the port where your application runs.
55
55
Coolify sets the default port to 3000, so if your application listens on a different port, update the port number on the network section.
-**Pre-deployment:** Optionally, specify a script or command to execute in the existing container before deployment begins. This command is run with `sh -c`, so you do not need to add it manually.
71
71
-**Post-deployment:** Optionally, specify a script or command to execute in the newly built container after deployment completes. This command is also executed with `sh -c`.
72
72
@@ -85,7 +85,7 @@ If your app works when you check it with a `curl localhost` inside the container
85
85
86
86
Make sure that the port in the network settings matches the port where your application is listening. Also, check the startup log to ensure the application is not only listening on localhost.
We have different options like Base Directory, Publish Directory, and Ports that slightly change based on the application you deploy (static websites/applications). So, below we have two sections for the deployments possible with Nixpacks.
@@ -49,7 +49,7 @@ We have different options like Base Directory, Publish Directory, and Ports that
49
49
## How to deploy Fully Static Website?
50
50
First, follow the previous section in this documentation: [How to use Nixpacks](#how-to-use-nixpacks). After that, proceed with the steps below.
- As of Coolify **v4.0.0-beta.404**, the only web server option available is [Nginx ↗](https://nginx.org/en/?utm_source=coolify.io). So **Nginx** will be selected by default.
72
72
@@ -75,7 +75,7 @@ First, follow the previous section in this documentation: [How to use Nixpacks](
75
75
76
76
9. Customize Your Web Server Configuration <Badgetype="warning"text="Optional" />
If needed, you can override the default install, build, and start commands. Simply scroll down to the build section on Coolify and input your custom commands.
- If your files are in the root of your repository, just type `/`.
57
57
- If they are in a subfolder, type the path to that folder (for example, `/out`).
@@ -63,21 +63,21 @@ After setting the base directory, click the **Continue** button.
63
63
### 7. Choose a Web Server
64
64
As of Coolify **v4.0.0-beta.402**, the only web server option available is [Nginx ↗](https://nginx.org/en/?utm_source=coolify.io). So **Nginx** will be selected by default.
0 commit comments