Skip to content

Instantly share code, notes, and snippets.

@mvysny
Last active December 21, 2017 11:10
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 mvysny/c19ce09d1b8acbf89596a73cdbe7bda9 to your computer and use it in GitHub Desktop.
Save mvysny/c19ce09d1b8acbf89596a73cdbe7bda9 to your computer and use it in GitHub Desktop.
version: '2'
services:
teamcity-server:
image: jetbrains/teamcity-server:2017.2.1
environment:
- TEAMCITY_SERVER_MEM_OPTS=-Xmx2g -XX:MaxPermSize=270m -XX:ReservedCodeCacheSize=350m
ports:
- "127.0.0.1:8111:8111"
volumes:
- ./server/datadir:/data/teamcity_server/datadir
- ./server/logs:/opt/teamcity/logs
teamcity-agent:
image: jetbrains/teamcity-agent
environment:
- SERVER_URL=http://teamcity-server:8111
volumes:
- ./agent/conf:/data/teamcity_agent/conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment