Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docker/holesky): cleanup docker compose files #657

Merged
merged 6 commits into from
Jan 14, 2025

Conversation

thedevbirb
Copy link
Contributor

This PR tries to align some diffs we have between the code on GitHub and our setup on remotebeast, so that we don't have conflicts and headaches when pulling new changes.

Changelog:

  • builder -- bump image; on remotebeast it is running a newer one
  • helix -- on remotebeast we're running also the website service, which is missing on github
  • networks -- unify networks on a single bolt-holesky-default
  • format run-builder and run-bn

@thedevbirb thedevbirb force-pushed the lore/chore/docker-holesky branch from dde0d67 to d853ee8 Compare January 10, 2025 13:51
@@ -82,7 +76,7 @@ volumes:
driver: local

networks:
bolt-default:
bolt-holesky-default:
driver: bridge
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will have to add name: bolt-holesky-default here. Otherwise docker compose will prefix it with some bs and the name will differ in docker-compose.pbs.yml

Copy link
Contributor Author

@thedevbirb thedevbirb Jan 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated this to drop all references to custom networks, after internal discussion we will use host.docker.internal as DNS and adding:

    extra_hosts:
      - host.docker.internal:host-gateway

On every service that needs to communicate with others which expose a port on the host machine

@thedevbirb thedevbirb force-pushed the lore/chore/docker-holesky branch from 18345c3 to 855c159 Compare January 10, 2025 15:15
Copy link
Collaborator

@merklefruit merklefruit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just one small q!

testnets/holesky/docker-compose.yml Outdated Show resolved Hide resolved
@thedevbirb thedevbirb force-pushed the lore/chore/docker-holesky branch from 855c159 to dc9b1f5 Compare January 13, 2025 08:47
Copy link
Contributor

@mempirate mempirate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let's merge when tested

@thedevbirb thedevbirb force-pushed the lore/chore/docker-holesky branch from dc9b1f5 to 9f22d07 Compare January 14, 2025 11:45
@thedevbirb thedevbirb force-pushed the lore/chore/docker-holesky branch from 9f22d07 to 65bb535 Compare January 14, 2025 14:24
This is available on Linux on newer version of docker by adding
extra_host:
- host.docker.internal:host-gateway
on services where you need to use that DNS to access the host machine
@thedevbirb thedevbirb force-pushed the lore/chore/docker-holesky branch from 65bb535 to 3eaddc3 Compare January 14, 2025 14:54
@thedevbirb thedevbirb merged commit 7d9f60a into unstable Jan 14, 2025
2 checks passed
@thedevbirb thedevbirb deleted the lore/chore/docker-holesky branch January 14, 2025 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants