Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jetbrains/teamcity-docker-samples
TeamCity docker compose samples
https://github.com/jetbrains/teamcity-docker-samples
docker-compose teamcity teamcity-agent teamcity-server
Last synced: about 1 month ago
JSON representation
TeamCity docker compose samples
- Host: GitHub
- URL: https://github.com/jetbrains/teamcity-docker-samples
- Owner: JetBrains
- License: apache-2.0
- Created: 2017-09-26T07:47:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-17T17:19:20.000Z (over 1 year ago)
- Last Synced: 2024-04-13T12:06:58.949Z (7 months ago)
- Topics: docker-compose, teamcity, teamcity-agent, teamcity-server
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 146
- Watchers: 23
- Forks: 85
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TeamCity docker-compose samples [![JetBrains team project](http://jb.gg/badges/team.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
Simple [docker compose files](https://docs.docker.com/compose/compose-file/) to run TeamCity server together with agents.
## Images
TeamCity provides docker images for Linux and Windows containers. Windows images have the following suffixes in tags: `-nanoserver` and `-windowsservercore`. Available TeamCity images on Docker Hub:
* [jetbrains/teamcity-minimal-agent](https://hub.docker.com/r/jetbrains/teamcity-minimal-agent)
* [jetbrains/teamcity-agent](https://hub.docker.com/r/jetbrains/teamcity-agent)
* [jetbrains/teamcity-server](https://hub.docker.com/r/jetbrains/teamcity-server)## Basic configurations
Docker compose files for Linux containers are stored in `compose-ubuntu` directory, for Windows in `compose-windows`.
* Set TeamCity version in .env file (also could be 'EAP', or 'EAP-nanoserver-2004' for Windows).
* To run, use: `docker-compose up -d` command
* After creating a user, visit ["Agents -> Unauthorized"](http://localhost:8112/agents.html?tab=unauthorizedAgents) to authorize the build agent.After start TeamCity server will be available on `http://localhost:8112/` in Linux containers.
To open server URL on Windows execute the following command in PowerShell:```
explorer "http://$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' teamcitywindows_server_1):8111"
```## Multi-node configuration with several servers
See README.md in [multinode folder](./multinode/)