teamatldocker / bitbucket Goto Github PK
View Code? Open in Web Editor NEWDockerized Atlassian Bitbucket
Home Page: https://hub.docker.com/r/teamatldocker/bitbucket/
License: MIT License
Dockerized Atlassian Bitbucket
Home Page: https://hub.docker.com/r/teamatldocker/bitbucket/
License: MIT License
Hi,
First, I want to say thank you for publishing your useful docker images :-)
I tried your bitbucket image and tried to enable embbeded Elasticsearch following your instruction, but bitbucket server failed to start.
I inspected the problem and found it's because Alpine's ps didn't support "-p" option.
I wrote small script to support ps -p [pid].
I confirmed it works just copy this script to /usr/bin like this.
FROM blacklabelops/bitbucket
MAINTAINER benok <[email protected]>
COPY scripts/ps /usr/bin
Could you include this script or something like that for your image ?
p.s.
Recent bitbucket server's startup script seems to have run/start option for change script behaviour foreground/background. So I modifed 'entrypoint' section of my docker-compose.yml like that.
entrypoint: /bin/tini -- /opt/bitbucket/bin/start-bitbucket.sh run
Repo + docs updated, but docker hub does not yet have the release.
The HOME environment variable is not set for the bitbucket user.
This results in the following benign error when executing a bash shell in the image:
$ docker-compose exec -u bitbucket bitbucket bash
bash: /root/.bashrc: Permission denied
bash-4.3$ echo $HOME
/root
bash-4.3$ id
uid=1000(bitbucket) gid=1000(bitbucket) groups=1000(bitbucket)
However, more importantly, it throws the following warning when trying to clone from any repositories
$ git clone ssh://git@host:2222/<xxx>.git
Cloning into '<xxx>'...
remote: warning: unable to access '/root/.config/git/attributes': Permission denied <------------------
remote: Counting objects: 822, done.
remote: Compressing objects: 100% (701/701), done.
remote: Total 822 (delta 326), reused 390 (delta 79)
Receiving objects: 100% (822/822), 14.92 MiB | 32.16 MiB/s, done.
Resolving deltas: 100% (326/326), done.
Setting "HOME=/home/bitbucket" in the environment section of my compose file fixes this. So I assume it would work out of the box, if this was added to the Dockerfile.
Testet with blacklabelops/bitbucket:5.3.1
Elasticsearch has been bundled since Bitbucket since 4.6 and is designed to run as a completely separate java processes.
There should be a way to start a container that runs bundled-bitbucket-elasticsearch instead of the default bitbucket catalina.sh
Is it worth adding the Bitbucket Backup Client to the Bitbucket container?
Could then run another instance of the container to create backups.
https://marketplace.atlassian.com/plugins/com.atlassian.stash.backup.client/server/overview
Hello!
/shared/bitbucket.properties
file, why?Thanks for all your work, BTW!
It appears the latest release is for Bitbucket 6.8, posted to Docker Hub five months ago. I would like to open a ticket to track adding support for Bitbucket 7.3 (released June 2020).
Images not updating, https://hub.docker.com/r/blacklabelops/bitbucket/ is stuck on an old release.
Hi,
can we please bump this Docker Image to the latest version 5.0.0?
I tried this myself but had the following error message on startup:
failed to load external entity "/opt/bitbucket/conf/server.xml"
I'm not sure what the issue is.
The release notes on Atlassian's website only talk about having to migrate changed configuration values from server.xml
to bitbucket.properties
Release notes:
https://confluence.atlassian.com/bitbucketserver/bitbucket-server-5-0-release-notes-889528342.html
I will stop supporting and implementing Docker images starting in early 2019.
Repositories will be transferred to blacklabelops-legacy and archived for read only purpose.
The following repositories and images are affected:
January 2019
March 2019
Hi,
I'm currently PoC-ing your docker image, and I ran into an issue regarding memory sizing, as we have quite a large instance..
I tried the -e JAVA_OPTS='-Xms1g -Xmx2g'
but it seems that the file _start-webapp.sh
in /opt/bitbucket/bin
has hard set memory values: -Xms512m -Xmx1g
which generate the following Virtual Machine arguments:
-Xms1g -Xmx2g -Datlassian.standalone=BITBUCKET -Dbitbucket.home=/var/atlassian/bitbucket -Dbitbucket.install=/opt/bitbucket -Xms512m -Xmx1g -XX:+UseG1GC -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -Djava.io.tmpdir=/var/atlassian/bitbucket/tmp -Djava.library.path=/opt/bitbucket/lib/native;/var/atlassian/bitbucket/lib/native
Are there any plans to provide a way to set these as container arguments?
Cheers,
I migrated all the docker volumes with the data and am in the process of migrating the containers - but can't get bitbucket to connect with the db.
I have a postgres docker container and a bitbucket app container both have
--network="bitbucket_default"
I added these three to the bitbucket container start up command
--env="DB_HOST=bitbucket_db" \
--env="PG_HOST=bitbucket_db" \
--env="DOCKER_WAIT_HOST=bitbucket_db" \
But they didn't suffice/fix the issue - Thanks
I can connect to the postgres container - using a small container with the psql client on the same network - so clearly I am just not passing the right ENV vars to bitbucket - can you help?
HERE IS THE Java (console) error - it's trying to talk to an host called postgres
that does not exist..
JAVA start up error
org.postgresql.util.PSQLException: The connection attempt failed.
at org.postgresql.Driver$ConnectThread.getResult(Driver.java:401)
at org.postgresql.Driver.connect(Driver.java:259)
....
Caused by: java.net.UnknownHostException: postgres
Output which I get is this one:
ERROR: Service 'bitbucket' failed to build: The command '/bin/sh -c mkdir -p ${BITBUCKET_BACKUP_CLIENT_HOME} && wget -O /tmp/bitbucket-backup-distribution.zip https://marketplace.atlassian.com/download/plugins/com.atlassian.stash.backup.client/version/${BITBUCKET_BACKUP_CLIENT_VERSION} && unzip -d
What is correct value for BITBUCKET_BACKUP_CLIENT_VERSION?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.