Skip to content

Instantly share code, notes, and snippets.

@steveevers
Created December 10, 2019 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steveevers/6a9a4613cc73028581a0060d93077844 to your computer and use it in GitHub Desktop.
Save steveevers/6a9a4613cc73028581a0060d93077844 to your computer and use it in GitHub Desktop.
compose file for a self-contained teamcity install that is capable of building dotnet core and angular projects
version: '3.7'
services:
teamcity-server:
container_name: teamcity
image: jetbrains/teamcity-server
restart: unless-stopped
ports:
- "8111:8111"
volumes:
- ./data_dir:/data/teamcity_server/datadir
- ./log_dir:/opt/teamcity/logs
teamcity-agent-dotnet:
container_name: teamcity-agent-dotnet
image: jetbrains/teamcity-agent
restart: unless-stopped
environment:
- SERVER_URL=teamcity-server:8111
- TEAMCITY_SERVER_MEM_OPTS=-Xmx2g -XX:ReservedCodeCacheSize=350m
teamcity-agent-npm:
container_name: teamcity-agent-npm
image: pcasafont/teamcity-agent-with-npm:2018.2.1-6.4.1
restart: unless-stopped
environment:
- SERVER_URL=teamcity-server:8111
- TEAMCITY_SERVER_MEM_OPTS=-Xmx2g -XX:ReservedCodeCacheSize=350m
- AGENT_OPTS=npm.installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment