Dokploy

D

Dokploy

Join the community to ask questions about Dokploy and get answers from other members.

Join

Deploying my app does build the image but there is no container running.

My deployments result in a succesfully build image however it appears that there is no container running afterwards. Is there any logs available to debug why my container won't boot? When i run the image myself it works fine....

How to register admin and generate API Token automatically (setup)

hi is there any way to register first admin (setup dokploy) and generate api-token using api. in my case i want to automate vm migration. q.a why do i need that? because requirement to access other api is using api-token. ...

Trying to connect to the DB during Next JS build

I'm trying to deploy a Next JS app that connects to the MySQL DB during build time. I tried both Nixpacks & Dockerfile build types without success. The DB is running in another container on the same server. It isn't exposed to the internet. Things I've tried so far: 1. Using the 'External Port' feature to expose the container port to the host and provide localhost (also tried 127.0.0.1) as host and the appropriate port. 2. Using the internal connection URL from Dokploy....

Automatic Deploy fails: "Branch Not Match"

I have an issue triggering a deploy via API (https://MYSERVER/api/deploy/J6pvcMX4zTr9O0j6HVLLR) It fails with {"message":"Branch Not Match"} I'm trying to deploy a Dockerfile from my Git server that uses the master branch....

Error installing.

This its my install file for installing DokPloy. Server desc. ``` Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS...
No description

Settings access

I am watching a tutorial to set things up as I am a noob on this topic. The man in the video has a completly different settings menu. Where can I find the settings that the man has in the screenshot?
No description

Can't connect to postgres on Dokploy

i hav an issue connecting to postgres on doploy. i have used the connection details but i get a ENOTFOUND error in my logs.

Basic Application HTTP Security prompted indefinitely

I've just set up correctly my static React Vite static web app. When I set up the basic http security for the app in Advance, I get prompted over and over the alert, requesting me to enter it over and over again and it never goes through. User and password are set to test/test to make debugging easier but I can't really understand it. Any help? Thank you!...

Prevent scheduling on swarm manager

Hey, I was wondering whether it is possible to somehow have Dokploy run only on the manager node, and schedule workloads only on workers.

Volumes/Mounts not showing in UI

Hello, I would like to use "bind Mount" to map a host directory to a container directory for a project I deployed using compose. When I go to the "Advanced" tab, then click "add volume" button , the only choice I have is "File mount" and not (Bind Mount, Volume Mount and File mount) like specified in the documentation. Is this normal? Is there any configuration I shoud do to have those tabs ? Thank you in advance for the help !...
No description

Gitlab repos not showing under custom gitlab account.

Hi, somehow my repo's are not showing up when choosing gitlab account. These are the permissions for the application:...
No description

Dashboard not accessible after install

Hello, I tried to install Dokploy via the script but when the script told me that Dokploy was successfully installed, I tried to access to the dashboard which result to a timeout Doing a docker logs of the Dokploy container give no error...

Having trouble mounting host folders during `docker build` on Dokploy server

I have a SvelteKit project that uses a sqlite3 DB as its backing database. Since building the project currently requires the DB file to be present, I've tried copying the DB file to the Dokploy server and binding the mount in the Dockerfile when building:
RUN --mount=type=bind,src=/var/local/website/db,dst=/app/db
RUN --mount=type=bind,src=/var/local/website/db,dst=/app/db
...

docker swarm, help

I installed Postiz a few months ago on Dokploy, then removed it, and when I checked Swarm - Services on Dokploy, I found Postiz as shown in the picture. What is this? How do I delete it?
No description

Error creating manual backup.

1. The connection works fine on the S3 destinations bit.

Using docker-compose commands with dokploy

Hi everyone, I'm new here and not sure how Dokploy exactly works. 🧐 I set up a new server with a fresh installation of Ubuntu Server and Dokploy, and deployed my first service using the "n8n" template. Everything runs smoothly....

Help stuck, new to docker and everything with VPS

Shouldn't my docker image have a port assigned to it?
No description

[SOLVED] How to create volume? and connect to my container?

Hi everyone, I'm still confused about how to use volumes in dokploy. in this case, I have a nestjs application. I have 1 endpoint to upload images. if on my local computer, the uploaded image goes to public/ ...

S3 Connection not working with Minio

Somehow my S3 Backup Connection isn’t working quite right
Command failed: rclone ls --s3-provider=Minio --s3-access-key-id=… --s3-secret-access-key=… --s3-region=eu-central --s3-endpoint=https://minio-2.woven.design --s3-no-check-bucket --s3-force-path-style ":s3:woven-dokploy" 2025/01/16 11:00:14 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults 2025/01/16 11:00:14 NOTICE: Failed to ls: operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: 181B2739F134FB11, HostID: dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8, api error SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
Command failed: rclone ls --s3-provider=Minio --s3-access-key-id=… --s3-secret-access-key=… --s3-region=eu-central --s3-endpoint=https://minio-2.woven.design --s3-no-check-bucket --s3-force-path-style ":s3:woven-dokploy" 2025/01/16 11:00:14 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults 2025/01/16 11:00:14 NOTICE: Failed to ls: operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: 181B2739F134FB11, HostID: dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8, api error SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
...

Preview deployments not building from branch

Hi, I'm trying to setup preview deployments but it doesnt seemt o be cloning the right branch. Every time I make a pull request, it builds from the main branch not from the pull request. Is anyone else having this issue?...