I'm running Jira, Bitbucket and Confluence with Docker Compose, following this example:
I've changed the docker-compose.yml file, to add local directories as data volumes for each of the applications - e.g.:
volumes:
- D:/DevTools/BitbucketData:/var/atlassian/application-data/bitbucket
All seems well, and can create projects etc in Jira and Bitbucket. When I come to create a repository in Bitbucket, however, I get the following error (full screen):
The repository creation works ok if I use a Docker named volume, however, e.g.:
...
volumes:
- bitbucketVolume:/var/atlassian/application-data/bitbucket
volumes:
bitbucketVolume:
Any ideas why that would be the case? I prefer to use the absolute directory path, rather than the named volume, to simplify data backup.
The host machine is running Windows 10, Docker 19.03.12. It is Bitbucket Server v7.6.0 (the current latest tag on Docker hub).
Have you by chance had any luck getting this fixed? I am also running into the same error/issue with bitbucket in docker. I host it on linux and have the application data folder hosted on a windows machine I mount to via docker-compose. Everything works except being able to make new repositories.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.