Guest User

Untitled

a guest
Apr 18th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. # Team City Docker File
  2.  
  3. version: '2'
  4.  
  5. services:
  6. mysql:
  7. image: mysql
  8. restart: always
  9. environment:
  10. MYSQL_ROOT_PASSWORD: 'test_pass' # TODO: Change this
  11. MYSQL_USER: 'admin'
  12. MYSQL_PASS: 'admin'
  13. volumes:
  14. - /opt/mysql_data:/var/lib/mysql
  15. ports:
  16. - "3306:3306"
  17. server:
  18. image: 'jetbrains/teamcity-server' # the official JetBrains image
  19. volumes:
  20. - './team-city/data:/data/teamcity_server/datadir' # link the local folders to docker folders
  21. - './team-city/log:/data/teamcity/logs'
  22. ports:
  23. - 8111:8111
  24. environment:
  25. - TEAMCITY_SERVER_MEM_OPTS="-Xmx750m"
  26.  
  27. agent:
  28. image: 'jetbrains/teamcity-minimal-agent' #the official JetBrains image
  29. environment:
  30. - SERVER_URL=server:8111
Add Comment
Please, Sign In to add comment