Comments (9)
please give steps to reproduce the issue, that looks related to traefik certificate
- How did you create the self hosted registry?
- Did you point the domain name of registry in your dns provider?
In the meantime can you try to reload the traefik?
from dokploy.
- Install and login
- Set the server domain and configure Let’s Encrypt certificates to enable HTTPS. I used sslip.io,for example: 8-137-0-0.sslip.io
- Enable Self Hosted Registry, you need to enter the Username, Password and Registry URL, here Registry URL set to registry.8-137-0-0.sslip.io
from dokploy.
That is the reason, you are using a domain that does not belong to you, you cannot assign SSL certificates to those that are accesible only via HTTP domains.
You need to modify the registry file registry.yml
from traefik file system and do the following
remove the middlewares, entrypoints and TLS, and restart traefik and it should work
from dokploy.
That is the reason, you are using a domain that does not belong to you, you cannot assign SSL certificates to those that are accesible only via HTTP domains.
I don't think that's the problem. The @/server/api/services/registry.ts::createRegistry method has not yet created a docker registry, and of course has not applied for a certificate.
from dokploy.
Sorry, I don't understand much, you mean the docker registry is not being created, can you share the log of docker service ls
?
from dokploy.
Yes,the docker registry is not being created.The initializeRegistry method is the only way to start the docker registry,and now the createRegistry method tries to connect to the registry.
enableSelfHostedRegistry: adminProcedure
.input(apiEnableSelfHostedRegistry)
.mutation(async ({ input }) => {
const selfHostedRegistry = await createRegistry({
...input,
registryName: "Self Hosted Registry",
registryType: "selfHosted",
registryUrl:
process.env.NODE_ENV === "production"
? input.registryUrl
: "dokploy-registry.docker.localhost",
imagePrefix: null,
});
await manageRegistry(selfHostedRegistry);
await initializeRegistry(input.username, input.password);
return selfHostedRegistry;
})
This is the docker service ls
output:
root@jinsiyi:~# docker service ls
ID NAME MODE REPLICAS IMAGE PORTS
weydtswbt3m2 dokploy replicated 1/1 dokploy/dokploy:latest
j7uk1vsp5evg dokploy-postgres replicated 1/1 postgres:16 *:30000->5432/tcp
qxg7qev0b6m7 dokploy-redis replicated 1/1 redis:7 *:30001->6379/tcp
z544zykeytt7 dokploy-traefik replicated 1/1 traefik:v2.5
from dokploy.
Try to do something, recreate the self hosted registry, and there go to settings -> server -> view logs, and check if there is any error
from dokploy.
Although it doesn't fix the root issue, I managed to get around this by just using the Gitea container
from dokploy.
Fixed in #196 v0.3.1
from dokploy.
Related Issues (20)
- Invalid password set after creating a redis database HOT 1
- Href on the entire project card
- dokploy not responding HOT 2
- Can't fetch Github Repository HOT 2
- Splitting DB container in docker compose when deploy HOT 1
- ERR_EMPTY_RESPONSE on traefik domain [IPV6] HOT 6
- Include Typebot in Dokploy Templates
- Feature: Categorize Templates for Improved UX HOT 1
- Cluster (Docker Swarm Worker Replication) Not Working on Ipv6 HOT 4
- Linux Standards Violation: Incorrect Storage of Docker Volumes and Logs HOT 2
- Next.js could not access redis from the same project HOT 1
- Every time I create a server on Hetzner, it does not work after restart HOT 2
- Add more avatar options or/and custom avatar for the Dokploy dashboard HOT 1
- Clarify error message for naming validation in `AppName` (`application`, `database`, and `compose`) HOT 1
- Domains for services created via template HOT 5
- Support pgvector HOT 4
- Update default CNB builder image to `heroku/builder:24` HOT 1
- Should trafik be automatically configured for docker compose? HOT 1
- 2 Factor Authentication HOT 2
- Add Support for Environment Variables During Dockerfile Build Process in Dokploy HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokploy.