This is based off of sjoerdmulder/teamcity.
By default, each TeamCity installation runs under a Professional Server license including 3 build agents. This license is provided for free with any downloaded TeamCity binary and gives you full access to all product features with no time limit. The only restriction is a maximum of 20 build configurations.
By pulling this image you accept the JetBrains license agreement for TeamCity (Commercial License)
This docker image can use (optionally) an external postgress database instead of the internal database of teamcity. (recommended for production usage)
POSTGRES_PASSWORD=mysecretpassword
SETUP_TEAMCITY_SQL="create role teamcity with login password 'teamcity';create database teamcity owner teamcity;"
# Start an official docker postgres instance
docker run --name some-postgres -e POSTGRES_PASSWORD=$POSTGRES_PASSWORD -d postgres
# Create the database using psql
docker run -it --link some-postgres:postgres --rm -e "SETUP_TEAMCITY_SQL=$SETUP_TEAMCITY_SQL" -e "PGPASSWORD=$POSTGRES_PASSWORD" postgres bash -c 'exec echo $SETUP_TEAMCITY_SQL |psql -h "$POSTGRES_PORT_5432_TCP_ADDR" -p "$POSTGRES_PORT_5432_TCP_PORT" -U postgres'
After this you can start the teamcity image linking it to the postgres image
docker run --link some-postgres:postgres -v <teamcitydir>:/var/lib/teamcity -d sjoerdmulder/teamcity:latest
In the installation screen of teamcity as host for postgress you can specify postgres
docker pull daptiv/docker-teamcity:latestdocker run --link some-postgres:postgres -v <teamcitydir>:/var/lib/teamcity -p 8111:8111 daptiv/teamcity:latestContent type
Image
Digest
Size
869.8 MB
Last updated
about 10 years ago
docker pull daptiv/docker-teamcity:1.0.0