Dockman no start UI 8866 #45
-
|
I'm having a problem with Dockman versions higher than 1.0.2. Even with a clean container in the log, the container never goes past the stage: DBG ../core/internal/git/service.go:125 > Got tree status Here's the compose I'm using: Another point I don't understand is that the container systematically uses an IP address of 192.168.48.2, even though I don't specify anything anywhere. Why doesn't it use a standard 172.0.0 address? Thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
|
Your compose is incorrect Don't store application data in the compose root its bad practice and the cause of your problem You should move all container generated files, like databases, and other application data, outside of the compose root See: https://github.com/RA341/dockman?tab=readme-ov-file#staging_lag name: dockman
services:
dockman:
container_name: dockman
image: ghcr.io/ra341/dockman:latest
environment:
- DOCKMAN_COMPOSE_ROOT=/stacks
- DOCKMAN_LOG_LEVEL=debug
- DOCKMAN_LOG_VERBOSE=true
volumes:
# - /server/stacks/dockman/config:/config <-- don't do this
- /server/dockerdata/dockman/config:/config # <-- store outside of compose root
- /var/run/docker.sock:/var/run/docker.sock
- /stacks:/stacks #<-- all paths must be absolute and same
ports:
- "8866:8866"
restart: always
or the opposite if you want /server/stacks to be the path name: dockman
services:
dockman:
container_name: dockman
image: ghcr.io/ra341/dockman:latest
environment:
- DOCKMAN_COMPOSE_ROOT=/server/stacks
- DOCKMAN_LOG_LEVEL=debug
- DOCKMAN_LOG_VERBOSE=true
volumes:
- /server/stacks/dockman/config:/config
- /var/run/docker.sock:/var/run/docker.sock
- /server/stacks:/server/stacks #<-- all paths must be absolute and same
ports:
- "8866:8866"
restart: alwaysip issueFor your ip issue I am not sure why it's happening I built that so that I can have direct links to my containers by clicking thoer ports, It works by pinging cloudflare dns and checks the address used for containers it should be as you said 172.x.x.x Maybe something in your docker network config |
Beta Was this translation helpful? Give feedback.

You still can do this, it only applies to container-generated data. Simple config files are fine
See
#43 (comment)
for how to layout your directories, it might be a pain but it will allow you to seperate your configs from your container data