Skip to content
Discussion options

You must be logged in to vote

You're right that bind mounts are painful here. The root cause is that BBS runs multiple services under different UIDs inside one container (MariaDB as UID 100, ClickHouse as UID 999, Apache/PHP as www-data UID 33, and root for config/SSH keys). Named volumes hide this entirely. Bind mounts expose it, and if your host filesystem blocks the entrypoint's chown calls — which happens with rootless Docker, SELinux, or network mounts — every service that can't write to its own directory crashes.

Easy path: named volume

If you just want it to work, use the default docker-compose.yml with a named volume (bbs-data:/var/bbs). That's how the project is designed to run, and it's what we test against.…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ovizii
Comment options

Answer selected by ovizii
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants