-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
39 lines (39 loc) · 986 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
server:
mem_limit: 4g
image: alexanderilyin/docker-teamcity-server
ports:
- "8111:8111"
volumes:
- .TeamCity:/root/.BuildServer
links:
- mysql
mysql:
image: alexanderilyin/docker-mysql
volumes:
- .MySQL:/var/lib/mysql
environment:
MYSQL_DATABASE: teamcity
MYSQL_USER: teamcity
MYSQL_PASSWORD: teamcity
MYSQL_ALLOW_EMPTY_PASSWORD: 1
agentone:
privileged: true
image: alexanderilyin/docker-teamcity-agent
volumes:
- .TeamCity/.buildAgent/1/buildAgent.properties:/opt/buildAgent/conf/buildAgent.properties
links:
- server
agenttwo:
privileged: true
image: alexanderilyin/docker-teamcity-agent
volumes:
- .TeamCity/.buildAgent/2/buildAgent.properties:/opt/buildAgent/conf/buildAgent.properties
links:
- server
agentthree:
privileged: true
image: alexanderilyin/docker-teamcity-agent
volumes:
- .TeamCity/.buildAgent/3/buildAgent.properties:/opt/buildAgent/conf/buildAgent.properties
links:
- server