first commit
This commit is contained in:
28
docker-compose.yml
Normal file
28
docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
agent-yuri:
|
||||
restart: always
|
||||
container_name: agent-yuri
|
||||
image: jetbrains/teamcity-agent:2023.11.4-linux-sudo
|
||||
environment:
|
||||
- SERVER_URL=teamcity.phx-erp.de:8111
|
||||
- DOCKER_IN_DOCKER=start
|
||||
- AGENT_NAME=Yuri-Agent
|
||||
# - TEAMCITY_AGENT_MEM_OPTS="-Xmx8g"
|
||||
user: root
|
||||
privileged: true # If this is true you might have denied error in the agents logs!!!
|
||||
networks:
|
||||
- devops
|
||||
volumes:
|
||||
- '/teamcity/agent:/teamcity_agent/conf'
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
- '/opt/buildagent/system:/opt/buildagent/system'
|
||||
- '/opt/buildagent/work:/opt/buildagent/work'
|
||||
- '/opt/buildagent/plugins:/opt/buildagent/plugins'
|
||||
- '/opt/buildagent/temp:/opt/buildagent/temp'
|
||||
- '/opt/buildagent/tools:/opt/buildagent/tools'
|
||||
networks:
|
||||
devops:
|
||||
name: devops
|
||||
external: true
|
||||
Reference in New Issue
Block a user