Skip to content

Commit

Permalink
chore(compose): set container name for services
Browse files Browse the repository at this point in the history
  • Loading branch information
nettoclaudio committed Feb 23, 2023
1 parent 3897563 commit a606b07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions container-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: "2.4"

services:
buildkit:
container_name: buildkit
image: moby/buildkit:v0.11.3
command: --addr tcp://0.0.0.0:7777 --config /etc/buildkit/buildkitd.toml
privileged: true
Expand All @@ -11,11 +12,13 @@ services:
- ./pkg/build/buildkit/testdata/buildkitd.toml:/etc/buildkit/buildkitd.toml:ro

registry:
container_name: registry
image: registry:2
ports:
- 5000:5000

docker:
container_name: docker
image: docker:20.10.3-dind
command: dockerd -H tcp://0.0.0.0:2375 --insecure-registry 169.196.255.254:5000
privileged: true
Expand Down

0 comments on commit a606b07

Please sign in to comment.