{"id":21055302,"url":"https://github.com/quintsys/teamcity-docker-compose","last_synced_at":"2026-04-23T12:31:24.332Z","repository":{"id":77142608,"uuid":"121696874","full_name":"quintsys/teamcity-docker-compose","owner":"quintsys","description":"Compose to create working TeamCity server with PostgreSQL and Agents","archived":false,"fork":false,"pushed_at":"2018-05-09T18:54:46.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-01T10:39:38.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quintsys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-02-15T23:43:50.000Z","updated_at":"2018-05-09T18:54:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"a07b4614-dd5b-4c36-9802-93f637a2a6f6","html_url":"https://github.com/quintsys/teamcity-docker-compose","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quintsys/teamcity-docker-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintsys%2Fteamcity-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintsys%2Fteamcity-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintsys%2Fteamcity-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintsys%2Fteamcity-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quintsys","download_url":"https://codeload.github.com/quintsys/teamcity-docker-compose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintsys%2Fteamcity-docker-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32181362,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T11:42:27.955Z","status":"ssl_error","status_checked_at":"2026-04-23T11:42:18.877Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-19T16:42:56.272Z","updated_at":"2026-04-23T12:31:24.314Z","avatar_url":"https://github.com/quintsys.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# teamcity-docker-compose\n\nCompose to create working [TeamCity](TeamCity) server with PostgreSQL and Agents\n\n## How to use\n\nClone this repository or download the zip.\n\n```bash\ngit clone https://github.com/QuintSys/teamcity-docker-compose.git\n```\n\n## Configuration\n\nSet your Postgres username and password variables in `env.example` and rename `env.example` to `.env`\n\nDon't push `.env` file in public repositories!\n\nPostgreSQL is already configured according to the\nJetBrains [recommendations](recommendations)\n\n## Build and setup\n\nNext, build the images:\n\n```bash\ncd teamcity-docker-compose\ndocker-compose build\n```\n\nNow you can start up the service and continue configuring settings in Web Interface:\n\n```bash\ndocker-compose up -d\n```\n\nYou can also specify the number of containers to run for your build agents\n\n```bash\ndocker-compose up -d --scale teamcity-agent=3\n```\n\nAfter initialisation Web Interface will be available on `http://yourdockerhost:8111/`\n\n### Setup DB\n\n- Open `http://yourdockerhost:8111/`\n- Set PostgreSQL as database type\n- In terminal, do\n ```bash\n sudo su # enter password when prompted\n cd /srv/teamcity/data/lib/jdbc\n wget https://jdbc.postgresql.org/download/postgresql-42.2.1.jar\n ```\n- Go back to `http://yourdockerhost:8111/` and click «Refresh JDBC drivers»\n- Configure DB connection\n- Authorize your Agents\n- Done, [TeamCity](TeamCity) is ready to work.\n\n## Scaling\n\nScaling you workers (agents) supported as well. Just use `docker-compose scale` command:\n\n```bash\ndocker-compose scale teamcity-agent=3\n```\n\nKeep in mind: **currently, agents are stateless**\n\n## Backup / restore\n\nYou may use JetBrains way to [backup](backup) or [restore](restore) your server\n\n## Update\n\nIf you see a notice that a new version is available, you may update your TeamCity that way:\n\n```bash\n# build new version\ndocker-compose build --pull --no-cache\n\n# stop and remove old containers\ndocker-compose stop\ndocker-compose rm\n\n# create and up new containers\ndocker-compose up -d\n```\n\nAfter an update, you need to reauthorize your agents.\n\n### Updating maintenance\n\nSometimes, during update you may get «maintenance is required» message instead of login page. It's ok! To login in a maintenance mode you need to enter an authentication token. You may find it in the logs:\n`docker-compose logs -f`\n\nTry to find something like this:\n\n```bash\n[TeamCity] Administrator can login from web UI using authentication token: 755994969038184734\n```\n\n## Agents\n\nRuby preconfigured agents are included. See [included software](agents/ruby-nodejs/README.md)\n\n## Contributing\n\nBug reports, bug fixes and new features are always welcome.\nPlease open issues and submit pull requests for any new code.\n\n[TeamCity]: https://www.jetbrains.com/teamcity/\n[backup]: https://confluence.jetbrains.com/display/TCD10/TeamCity+Data+Backup\n[restore]: https://confluence.jetbrains.com/display/TCD10/Restoring+TeamCity+Data+from+Backup\n[recommendations]: https://confluence.jetbrains.com/pages/viewpage.action?pageId=74847395#HowTo...-ConfigureNewlyInstalledPostgreSQLServer","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquintsys%2Fteamcity-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquintsys%2Fteamcity-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquintsys%2Fteamcity-docker-compose/lists"}