From 70116006f00f96bb71125963041a9d2718f3f806 Mon Sep 17 00:00:00 2001 From: Faustin Lammler Date: Wed, 4 Oct 2023 16:48:47 +0300 Subject: [PATCH] s --- docker-compose/docker-compose.yaml | 23 ++++++++++++----------- docker-compose/generate-config.py | 5 +++-- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/docker-compose/docker-compose.yaml b/docker-compose/docker-compose.yaml index c6132a01..a2b410b6 100644 --- a/docker-compose/docker-compose.yaml +++ b/docker-compose/docker-compose.yaml @@ -16,7 +16,8 @@ services: healthcheck: test: ['CMD', "mariadb-admin", "--password=password", "--protocol", "tcp", "ping"] volumes: - - ./db:/docker-entrypoint-initdb.d:ro + # Only needed during GSOC + # - ./db:/docker-entrypoint-initdb.d:ro - ./mariadb:/var/lib/mysql:rw # command: --tmpdir=/var/lib/mysql/tmp @@ -45,10 +46,10 @@ services: restart: unless-stopped container_name: master-web environment: + - BUILDMASTER_URL - TITLE - TITLE_URL - MQ_ROUTER_URL - - BUILDMASTER_URL - PORT=8010 volumes: - ./logs:/var/log/buildbot @@ -69,10 +70,10 @@ services: restart: unless-stopped container_name: autogen_aarch64-master-0 environment: + - BUILDMASTER_URL - TITLE - TITLE_URL - MQ_ROUTER_URL - - BUILDMASTER_URL - PORT=9996 volumes: - ./logs:/var/log/buildbot @@ -95,10 +96,10 @@ services: restart: unless-stopped container_name: autogen_amd64-master-0 environment: + - BUILDMASTER_URL - TITLE - TITLE_URL - MQ_ROUTER_URL - - BUILDMASTER_URL - PORT=9997 volumes: - ./logs:/var/log/buildbot @@ -121,10 +122,10 @@ services: restart: unless-stopped container_name: autogen_amd64-master-1 environment: + - BUILDMASTER_URL - TITLE - TITLE_URL - MQ_ROUTER_URL - - BUILDMASTER_URL - PORT=9998 volumes: - ./logs:/var/log/buildbot @@ -147,10 +148,10 @@ services: restart: unless-stopped container_name: autogen_ppc64le-master-0 environment: + - BUILDMASTER_URL - TITLE - TITLE_URL - MQ_ROUTER_URL - - BUILDMASTER_URL - PORT=9999 volumes: - ./logs:/var/log/buildbot @@ -173,10 +174,10 @@ services: restart: unless-stopped container_name: autogen_s390x-master-0 environment: + - BUILDMASTER_URL - TITLE - TITLE_URL - MQ_ROUTER_URL - - BUILDMASTER_URL - PORT=10000 volumes: - ./logs:/var/log/buildbot @@ -199,10 +200,10 @@ services: restart: unless-stopped container_name: autogen_x86-master-0 environment: + - BUILDMASTER_URL - TITLE - TITLE_URL - MQ_ROUTER_URL - - BUILDMASTER_URL - PORT=10001 volumes: - ./logs:/var/log/buildbot @@ -225,10 +226,10 @@ services: restart: unless-stopped container_name: master-docker-nonstandard environment: + - BUILDMASTER_URL - TITLE - TITLE_URL - MQ_ROUTER_URL - - BUILDMASTER_URL - PORT=10002 volumes: - ./logs:/var/log/buildbot @@ -251,10 +252,10 @@ services: restart: unless-stopped container_name: master-galera environment: + - BUILDMASTER_URL - TITLE - TITLE_URL - MQ_ROUTER_URL - - BUILDMASTER_URL - PORT=10003 volumes: - ./logs:/var/log/buildbot @@ -277,10 +278,10 @@ services: restart: unless-stopped container_name: master-protected-branches environment: + - BUILDMASTER_URL - TITLE - TITLE_URL - MQ_ROUTER_URL - - BUILDMASTER_URL - PORT=10004 volumes: - ./logs:/var/log/buildbot diff --git a/docker-compose/generate-config.py b/docker-compose/generate-config.py index 3800fa27..6fd8c045 100755 --- a/docker-compose/generate-config.py +++ b/docker-compose/generate-config.py @@ -40,7 +40,8 @@ healthcheck: test: ['CMD', "mariadb-admin", "--password=password", "--protocol", "tcp", "ping"] volumes: - - ./db:/docker-entrypoint-initdb.d:ro + # Only needed during GSOC + # - ./db:/docker-entrypoint-initdb.d:ro - ./mariadb:/var/lib/mysql:rw # command: --tmpdir=/var/lib/mysql/tmp @@ -99,7 +100,7 @@ net_front: net_back: ports: - - "127.0.0.1:{port}:{port}" + - "100.64.101.1":{port}:{port}" depends_on: - mariadb - crossbar