-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (30 loc) · 817 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (30 loc) · 817 Bytes
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
version: "3"
services:
server:
image: jetbrains/teamcity-server:latest
ports:
- "8112:8111"
volumes:
- ./data_dir:/data/teamcity_server/datadir
- ./log_dir:/opt/teamcity/logs
teamcity-agent:
image: jetbrains/teamcity-agent:latest
environment:
- SERVER_URL=http://server:8111
- AGENT_NAME=regular_agent
teamcity-agent-sudo:
image: jetbrains/teamcity-agent:2020.1.2-linux-sudo
environment:
- SERVER_URL=http://server:8111
- AGENT_NAME=sudo_agent
- DOCKER_IN_DOCKER=start
privileged: true
volumes:
- docker_volumes:/var/lib/docker
teamcity-minimal-agent:
image: jetbrains/teamcity-minimal-agent:latest
environment:
- SERVER_URL=http://server:8111
- AGENT_NAME=minimal_agent
volumes:
docker_volumes: