- Remove all services
docker service rm dokploy dokploy-postgres dokploy-redis- Stop and remove Trakfik container
docker stop dokploy-traefik
docker rm dokploy-traefik- Dokploy reinstall
- Start a fresh install
curl -sSL https://dokploy.com/install.sh | sh- While the installation is in progress
- Get newly generated password from dokploy container
docker exec -it $(sudo docker ps -q -f name=<current_dokploy_container_name>) sh -c 'cat /run/secrets/postgres_password'
- Set new generated password for the dokploy user in the postgres container
docker exec -it <current_postgres_container_name> psql -U dokploy -d dokploy -c "ALTER USER dokploy WITH PASSWORD '<response_of_above_step>';"
Done! This should create a fresh installation of dokploy while preserving the data