{"id":16945421,"url":"https://github.com/felipecruz91/bitbucket-sql-server","last_synced_at":"2026-04-15T08:36:38.814Z","repository":{"id":115783621,"uuid":"297031741","full_name":"felipecruz91/bitbucket-sql-server","owner":"felipecruz91","description":"Bitbucket server with SQL Server 2019 running in Docker","archived":false,"fork":false,"pushed_at":"2020-09-21T12:44:59.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T02:47:27.184Z","etag":null,"topics":["bitbucket-server","sql-server"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felipecruz91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-20T08:17:49.000Z","updated_at":"2020-09-21T12:45:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab39667c-49f5-4354-b454-c6edf29a52ef","html_url":"https://github.com/felipecruz91/bitbucket-sql-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecruz91%2Fbitbucket-sql-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecruz91%2Fbitbucket-sql-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecruz91%2Fbitbucket-sql-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecruz91%2Fbitbucket-sql-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipecruz91","download_url":"https://codeload.github.com/felipecruz91/bitbucket-sql-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244767753,"owners_count":20507110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitbucket-server","sql-server"],"created_at":"2024-10-13T21:22:25.834Z","updated_at":"2026-04-15T08:36:33.760Z","avatar_url":"https://github.com/felipecruz91.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# bitbucket-sql-server\r\n\r\n## Getting started\r\n\r\n```cli\r\ndocker-compose up -d\r\n```\r\n\r\n### SQL Server 2019\r\n\r\nConnect to the container and create the database:\r\n\r\n```cli\r\ndocker exec -it sqlserver2019 /bin/sh\r\n```\r\n\r\n```cli\r\n/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P \"Password01.\" -Q 'CREATE DATABASE bitbucket'\r\n```\r\n\r\nVerify the db has been created:\r\n\r\n```cli\r\n/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P \"Password01.\" -Q 'SELECT name FROM sys.databases'\r\nname\r\n--------------------------------------------------------------------------------------------------------------------------------\r\nmaster\r\ntempdb\r\nmodel\r\nmsdb\r\nbitbucket \u003c----- here\r\n```\r\n\r\nBitbucket Server requires a case-sensitive database, but the target database is case-insensitive.\r\n\r\n```cli\r\n/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P \"Password01.\" -Q 'ALTER DATABASE bitbucket COLLATE SQL_Latin1_General_CP1_CS_AS'\r\n```\r\n\r\n![bitbucket-sql-server-setup](./docs/images/bitbucket-sql-server-setup.PNG)\r\n\r\n### Bitbucket server\r\n\r\n(In case you want to sping up only Bitbucket server, without using `docker-compose.yml`)\r\n\r\n```cli\r\ndocker run \\\r\n    --rm \\\r\n    -v bitbucket-vol:/var/atlassian/application-data/bitbucket \\\r\n    --name=\"bitbucket\" \\\r\n    -d -p 7990:7990 -p 7999:7999 \\\r\n    atlassian/bitbucket-server\r\n```\r\n\r\nBitbucket server will be starting up in http://localhost:7990/\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipecruz91%2Fbitbucket-sql-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipecruz91%2Fbitbucket-sql-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipecruz91%2Fbitbucket-sql-server/lists"}