Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,735
Community Members
 
Community Events
176
Community Groups

How to map Bitbucket caches/ to a different Docker volume?

Hi

We're running Bitbucket in a Docker container (bitbucket-server:7.21.5) and expose the entire Bitbucket HOME to the host (to an NFS mount /mnt/atlassian/):

volumes:
- /mnt/atlassian/bitbucket:/var/atlassian/application-data/bitbucket

Now we want to move the caches/ directory to a different partition (not part of NFS because caches don't need to be backed up). This is also recommended on scaling-bitbucket-server:

It may be desirable to use a separate disk or partition mounted at $BITBUCKET_HOME/caches to allow for more disk space and to ensure cached packs don't fill up the same disk where other system data is stored

I could create a second volume of the 'caches' subdirectory, but this appears unconventional and therefore risky:

volumes:
- /mnt/atlassian/bitbucket:/var/atlassian/application-data/bitbucket
- /var/atlassian/bitbucket/caches:/var/atlassian/application-data/bitbucket/caches

Are there any recommendations on how to do this?
Is is safe to create a Docker volume of a directory that is already part of another volume?

Regards
Dominik

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.21.5
TAGS

Atlassian Community Events