Last active
April 10, 2018 12:09
-
-
Save milianoo/8144748d2c7d14fa218515f04aba2e15 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment