Dozzle with Dokku

Newsletter May 25, 2023

Step 1. Create Dockerfile

FROM amir20/dozzle

Step 2. Add to Git, set remote to Dokku and push

2.1 In client side

git remote add dokku dokku@IP:dozzle
git push dokku master

2.2 In server side

# mount docker sock to container dozzle
dokku storage:mount dozzle /var/run/docker.sock:/var/run/docker.sock
 
# map expose port
dokku proxy:ports-add dozzle http:80:8080
 
# dokku config:set dozzle DOZZLE_USERNAME=admin,DOZZLE_PASSWORD=pass
 
# map domain
dokku domains:add dozzle abc.com

Tags