Skip to content

Commit

Permalink
This should make master IDS persistent
Browse files Browse the repository at this point in the history
ATM, master IDs are incrementing anytime containers are restarted. I
believe this is related to hostname and should be fixed with this.
  • Loading branch information
fauust committed Nov 14, 2023
1 parent e8849ae commit 064e9e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose/generate-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
image: mariadb:10.6
restart: unless-stopped
container_name: mariadb
hostname: mariadb
environment:
- MARIADB_ROOT_PASSWORD=password
- MARIADB_DATABASE=buildbot
Expand All @@ -48,13 +49,15 @@
image: crossbario/crossbar
restart: unless-stopped
container_name: crossbar
hostname: crossbar
networks:
net_back:
nginx:
image: nginx:latest
restart: unless-stopped
container_name: nginx
hostname: nginx
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/conf.d/:/etc/nginx/conf.d/:ro
Expand All @@ -70,6 +73,7 @@
image: quay.io/mariadb-foundation/bb-master:master-web
restart: unless-stopped
container_name: master-web
hostname: master-web
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand All @@ -90,6 +94,7 @@
image: quay.io/mariadb-foundation/bb-master:master
restart: unless-stopped
container_name: {master_name}
hostname: {master_name}
volumes:
- ./logs:/var/log/buildbot
- ./buildbot/:/srv/buildbot/master
Expand Down

0 comments on commit 064e9e3

Please sign in to comment.