TeamCity docker compose samples
Simple docker compose files to run TeamCity server together with agents.
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:
Docker compose files for Linux containers are stored in compose-ubuntu
directory, for Windows in compose-windows
.
docker-compose up -d
commandAfter 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"
See README.md in multinode folder