Skip to content

Commit

Permalink
Specify platform only in base configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgranhao committed Feb 3, 2025
1 parent 12da885 commit c27996f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions regtest/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
x-services:
base-scripts: &base-scripts
image: ${SCRIPTS_IMAGE}
platform: linux/amd64
volumes:
- bitcoin-data:/root/.bitcoin
- elements-data:/root/.elements
Expand Down Expand Up @@ -91,7 +92,6 @@ services:
<<: *base-scripts
restart: "no"
container_name: boltz-cleanup
platform: linux/amd64
entrypoint: ["/bin/bash", "-c", "/cleanup.sh"]
profiles: ["default", "ci"]

Expand Down Expand Up @@ -308,7 +308,6 @@ services:

cln-1:
container_name: boltz-cln-1
platform: linux/amd64
hostname: cln-1
<<: *base-cln
ports:
Expand All @@ -320,7 +319,6 @@ services:

cln-2:
container_name: boltz-cln-2
platform: linux/amd64
hostname: cln-2
<<: *base-cln
ports:
Expand All @@ -334,7 +332,6 @@ services:
lnd-1:
<<: *base-lnd
container_name: boltz-lnd-1
platform: linux/amd64
hostname: lnd-1
ports:
- 8081:8081
Expand All @@ -346,7 +343,6 @@ services:
lnd-2:
<<: *base-lnd
container_name: boltz-lnd-2
platform: linux/amd64
hostname: lnd-2
ports:
- 11009:10009
Expand All @@ -356,7 +352,6 @@ services:

bitcoind-init:
<<: *base-scripts
platform: linux/amd64
restart: "no"
container_name: boltz-bitcoind-init
entrypoint:
Expand All @@ -367,7 +362,6 @@ services:

regtest-start:
<<: *base-scripts
platform: linux/amd64
restart: "no"
container_name: boltz-regtest-start
entrypoint:
Expand All @@ -394,7 +388,6 @@ services:
scripts:
<<: *base-scripts
restart: "no"
platform: linux/amd64
container_name: boltz-scripts
depends_on:
boltz-backend:
Expand Down

0 comments on commit c27996f

Please sign in to comment.