Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Team City Docker File
- version: '2'
- services:
- mysql:
- image: mysql
- restart: always
- environment:
- MYSQL_ROOT_PASSWORD: 'test_pass' # TODO: Change this
- MYSQL_USER: 'admin'
- MYSQL_PASS: 'admin'
- volumes:
- - /opt/mysql_data:/var/lib/mysql
- ports:
- - "3306:3306"
- server:
- image: 'jetbrains/teamcity-server' # the official JetBrains image
- volumes:
- - './team-city/data:/data/teamcity_server/datadir' # link the local folders to docker folders
- - './team-city/log:/data/teamcity/logs'
- ports:
- - 8111:8111
- environment:
- - TEAMCITY_SERVER_MEM_OPTS="-Xmx750m"
- agent:
- image: 'jetbrains/teamcity-minimal-agent' #the official JetBrains image
- environment:
- - SERVER_URL=server:8111
Add Comment
Please, Sign In to add comment