Im trying to get dokploy to work with sablier tearfik plugin zero scale #4038
crunkazcanbe
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is my dynamic config
http:
routers:
# --------------------------------------------------------
# 07. Dokploy
# --------------------------------------------------------
dokploy-router:
rule: "Host(
dokploy.bellzserver.cloud)"service: dokploy-svc
middlewares: [sablier-dokploy]
services:
# --------------------------------------------------------
# Dokploy Service Binding
# --------------------------------------------------------
dokploy-svc: { loadBalancer: { servers: [{ url: "http://dokploy:3000" }] } }
middlewares:
# --------------------------------------------------------
# Dokploy Sablier Plugin
# --------------------------------------------------------
sablier-dokploy:
plugin:
sablier:
sablierUrl: "http://sablier:10000"
names: "dokploy-postgres,dokploy-redis,dokploy"
dynamic:
displayName: "Dokploy"
provider: "docker"
stopTimeout: "30s"
refreshFrequency: "5s"
theme: "ghost"
scaling: { replicas: 1, minReplicas: 1, maxReplicas: 1}
and my compose i finally got dokploy to even show without a 404 but want login says forbidden its driving me crazy . btw it lets me log in with cloudflair url direct port and panglion direct port .
--- GLOBAL ANCHORS ---
x-common-caps: &common-caps
cap_add:
- NET_ADMIN
- NET_RAW
- SYS_NICE
- CHOWN
- DAC_OVERRIDE
- FOWNER
- SETGID
- SETUID
- IPC_LOCK
privileged: true
networks:
app_network:
name: app_network
external: true
dokploy_net:
name: dokploy_net
external: true
volumes:
dokploy_data:
services:
---------------------------------------------------------
26. DOKPLOY
Description: Application deployment manager.
---------------------------------------------------------
dokploy:
<<: *common-caps
image: 'dokploy/dokploy:latest'
container_name: dokploy
restart: always
cpuset: "3"
ports:
- '3931:3000'
environment:
- NODE_ENV=production
- DATABASE_URL=postgresql://dokploy:password@dokploy-postgres:5439/dokploy
- REDIS_URL=redis://dokploy-redis:6379
- NEXTAUTH_URL=https://dokploy.bellzserver.cloud
- NEXT_PUBLIC_APP_URL=https://dokploy.bellzserver.cloud
- AUTH_TRUST_HOST=true
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- 'dokploy_data:/etc/dokploy'
labels:
- sablier.enable=true
- sablier.group=management
networks:
- dokploy_net
- app_network
deploy:
resources:
limits:
memory: 2G
cpus: '2.0'
reservations:
cpus: '0.5'
Beta Was this translation helpful? Give feedback.
All reactions