Starts TeamCity in docker-compose with several servers of different roles (Ubuntu-based).
Requires at least 4Gb of RAM in the docker engine.
- Uses Postgres DB (
psql -p5433 -hlocalhost -Utest -dbuildserver
, passwordtest
) - Starts 2 servers: one primary, one secondary.
- And, two build agents
For details on volumes, created folders, logs see docker-compose.yml file.
docker-compose up
Next, open http://localhost:8111 for the initial setup.
After creating a user, visit "Agents -> Unauthorized" to authorize the build agent.
See http://localhost:8111/admin/admin.html?item=nodesConfiguration for nodes configuration.
docker-compose down