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
Copy file name to clipboardExpand all lines: apps/docs/content/docs/core/cluster.mdx
+9-13Lines changed: 9 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,24 +38,20 @@ If you choose the second option, we will proceed to configure the different serv
38
38
39
39
To start, we need to configure a Docker registry, as when deploying an application, you need a registry to deploy and download the application image on the other servers.
40
40
41
-
We offer two ways to configure a registry:
42
-
43
-
1.**External Registry**: Use any registry you want.
44
-
2.**Self-Hosted Registry**: We create and configure a self-hosted registry for you.
45
-
46
41
### External Registry
47
42
48
-
You can use any registry, such as Docker Hub, DigitalOcean Spaces, ECR, or your choice. Make sure to enter the correct credentials and test the connection before adding the registry.
49
-
50
-
### Self-Hosted Registry
43
+
You can use any external registry of your choice. Here are some popular options:
51
44
52
-
We will ask you for three things:
45
+
1.**Docker Hub** - Free tier available, easy to set up
46
+
2.**GitHub Container Registry (ghcr.io)** - Free for public repositories
47
+
3.**DigitalOcean Container Registry** - Simple setup with good integration
Copy file name to clipboardExpand all lines: apps/docs/content/docs/core/docker-compose/index.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,8 @@ volumes:
73
73
- "../files/my-configs:/etc/my-app/config"✅
74
74
```
75
75
76
+
**Important:** If you need to use files from your repository (configuration files, scripts, etc.), you must move them to Dokploy's File Mounts (via Advanced → Mounts) instead of mounting them directly from the repository. When using AutoDeploy, Dokploy performs a `git clone` on each deployment, which clears the repository directory. Mounting files directly from your repository using relative paths (e.g., `./` or `./config/file.conf`) will cause them to be lost or empty in subsequent deployments. See the [Troubleshooting guide](/docs/core/troubleshooting#using-files-from-your-repository) for more details.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/core/multi-server/deployments.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@ The server setup process prepares the necessary environment for securely and eff
16
16
Root access to the server is required. We currently do not support non-root deployments.
17
17
</Callout>
18
18
19
+
<Callouttype="warning">
20
+
If your remote server is configured with a different shell (other than bash), you must configure bash as the default shell, as Dokploy has been developed and tested with bash.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/core/multi-server/instructions.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,10 @@ Multi server allows you to deploy your apps remotely to different servers withou
11
11
12
12
1. To install Dokploy UI, follow the [installation guide](en/docs/core/get-started/installation).
13
13
14
+
<Callouttype="warning">
15
+
If your remote server is configured with a different shell (other than bash), you must configure bash as the default shell, as Dokploy has been developed and tested with bash.
16
+
</Callout>
17
+
14
18
2. Create an SSH key by going to `/dashboard/settings/ssh-keys` and add a new key. Be sure to copy the public key.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/core/troubleshooting.mdx
+48-4Lines changed: 48 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,46 @@ volumes:
54
54
- "../files/my-configs:/etc/my-app/config"✅
55
55
```
56
56
57
+
### Using Files from Your Repository
58
+
59
+
<Callout type="warning">
60
+
If you need to use files from your repository (e.g., configuration files, scripts, or directories), you **must** move them to Dokploy's file mounts and reference them manually using the Dokploy interface. This is because when using AutoDeploy, Dokploy performs a `git clone` operation on each deployment, which clears the repository directory. If you mount files directly from your repository using relative paths like `./` or `./docker/config/odoo.conf`, these files will be lost or empty in subsequent deployments, even though the first deployment may work correctly.
61
+
</Callout>
62
+
63
+
**Why this happens:**
64
+
- On the first deployment, the files exist and are mounted correctly
65
+
- On subsequent deployments, Dokploy cleans the directory and performs a fresh `git clone`
66
+
- Docker loses the reference to the files that were in the filesystem, and the new files have a new reference
67
+
- This causes mounted directories and files to be empty or missing inside the container
68
+
69
+
**Solution:**
70
+
1. Go to **Advanced** → **Mounts** in your Docker Compose application
71
+
2. Create a new **File Mount** for each file or directory you need from your repository
72
+
3. Copy the content from your repository files into the File Mount content field
73
+
4. Specify the file path for your configuration
74
+
5. Reference the file mount in your `docker-compose.yml` using the `../files/` path:
75
+
76
+
```yaml
77
+
volumes:
78
+
- "../files/my-config.json:/etc/my-app/config" ✅
79
+
- "../files/my-directory:/path/in/container" ✅
80
+
```
81
+
82
+
**Example:**
83
+
Instead of mounting directly from your repository:
## Logs Not Loading When Deploying to a Remote Server?
58
98
59
99
There are a few potential reasons for this:
@@ -204,6 +244,10 @@ volumes:
204
244
- ../files/my-config.json:/etc/my-app/config
205
245
```
206
246
247
+
<Callout type="info">
248
+
**Important for AutoDeploy users:** If you have configuration files or directories in your repository that you need to mount into your containers, you must copy their content to Dokploy's File Mounts (via Advanced → Mounts) instead of mounting them directly from the repository. This ensures the files persist across deployments, as the repository directory is cleaned and re-cloned on each AutoDeploy.
0 commit comments