Skip to content

Conversation

@KarpachMarko
Copy link

What is this PR about?

This PR will allow to configure custom Traefik entry point for applications domains, by manually entering name of Traefik entrypoint. That will prevent creating default entrypoints ("web" and/or "websecure") and only will use one, that is provided.

Checklist

Before submitting this PR, please make sure that:

Issues related (if applicable)

closes #2851

Screenshots (if applica

Screenshot 2025-10-21 at 11 40 10 ble)

autofix-ci bot and others added 8 commits October 25, 2025 07:11
# Conflicts:
#	apps/dokploy/drizzle/meta/0117_snapshot.json
#	apps/dokploy/drizzle/meta/_journal.json
# Conflicts:
#	apps/dokploy/drizzle/meta/0119_snapshot.json
#	apps/dokploy/drizzle/meta/_journal.json
# Conflicts:
#	apps/dokploy/drizzle/meta/0120_snapshot.json
#	apps/dokploy/drizzle/meta/_journal.json
… migration

- Deleted the SQL script `0122_sleepy_aqueduct.sql` which added a `customEntrypoint` column to the `domain` table.
- Removed the corresponding journal entry from `_journal.json` to clean up migration history.
- Deleted the snapshot file `0122_snapshot.json` as it is no longer needed.
- Introduced a new SQL migration script `0130_abandoned_dagger.sql` to add the `customEntrypoint` column to the `domain` table.
- Updated the journal entry in `_journal.json` to reflect this new migration.
- Created a snapshot file `0130_snapshot.json` to capture the current state of the database schema after this migration.
Copy link
Contributor

@Siumauricio Siumauricio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to understand, using a custom entrypoint basically we will not add the web-secure router even if we select https?

@KarpachMarko
Copy link
Author

Just to understand, using a custom entrypoint basically we will not add the web-secure router even if we select https?

Exactly. When custom entry-point is specified, no additional endpoints will be created. HTTPS toggle will just specify if SSL certificate should be provided

…e/custom-entrypoint

# Conflicts:
#	apps/dokploy/drizzle/meta/0130_snapshot.json
#	apps/dokploy/drizzle/meta/_journal.json
# Conflicts:
#	apps/dokploy/drizzle/meta/0131_snapshot.json
#	apps/dokploy/drizzle/meta/_journal.json
@Siumauricio
Copy link
Contributor

Just to understand, using a custom entrypoint basically we will not add the web-secure router even if we select https?

Exactly. When custom entry-point is specified, no additional endpoints will be created. HTTPS toggle will just specify if SSL certificate should be provided

Can you create test on this case, also if you can add some docs about this here https://github.com/Dokploy/website

@KarpachMarko
Copy link
Author

Just to understand, using a custom entrypoint basically we will not add the web-secure router even if we select https?

Exactly. When custom entry-point is specified, no additional endpoints will be created. HTTPS toggle will just specify if SSL certificate should be provided

Can you create test on this case, also if you can add some docs about this here https://github.com/Dokploy/website

There are already test cases added, that are ensuring:

  • only specified custom entrypoint is used
  • if https is enabled ensures to contain certificate provider
  • even if https is enabled does not add redirect middleware

Regarding docs, I will add user guide on custom entrypoint feature. Once docs update pull request will be ready I will attach link to it here

@Siumauricio
Copy link
Contributor

Let me know when the PR is created in the website repo https://github.com/Dokploy/website

@KarpachMarko
Copy link
Author

Let me know when the PR is created in the website repo https://github.com/Dokploy/website

@Siumauricio, related docs PR is created. Dokploy/website#107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for setting custom Traefik entrypoint for a domain

2 participants