From 462d172cc5645f88cc035ab975802bf14997a95a Mon Sep 17 00:00:00 2001 From: Yuri Lima Date: Tue, 30 Apr 2024 13:08:26 +0000 Subject: [PATCH] first commit --- docker-compose.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..1c57485 --- /dev/null +++ b/docker-compose.yml @@ -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 \ No newline at end of file