yugabyted | arch | nodes | link |
---|---|---|---|
Yes | aarch64 | 1 | link |
Yes | aarch64 | 3 | link |
Yes | amd64 | 1 | link |
Yes | amd64 | 3 | link |
Last active
May 20, 2024 11:50
-
-
Save yogendra/7f3130f72b50a61ae39515daee34eac2 to your computer and use it in GitHub Desktop.
Yugabyted on Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
yugabyted-0: | |
container_name: yugabyted-0 | |
hostname: yugabyted-0 | |
image: yugabytedb/yugabyte:2.20.3.1-b2 | |
platform: linux/aarch64 | |
command: | |
- sh | |
- -c | |
- | | |
bin/yugabyted start --fault_tolerance=zone --daemon=false --advertise_address=yugabyted-0 --cloud_location=cloud.region.zone1 | |
restart: unless-stopped | |
cap_add: | |
- NET_ADMIN | |
ports: | |
- "7000:7000" | |
- "7100:7100" | |
- "9000:9000" | |
- "5433:5433" | |
- "15433:15433" | |
healthcheck: | |
test: ["CMD", "/home/yugabyte/postgres/bin/pg_isready", "-h", "yugabyted-0"] | |
interval: 10s | |
timeout: 5s | |
retries: 10 | |
yugabyted-1: | |
container_name: yugabyted-1 | |
hostname: yugabyted-1 | |
image: yugabytedb/yugabyte:2.20.3.1-b2 | |
platform: linux/aarch64 | |
command: | |
- sh | |
- -c | |
- | | |
bin/yugabyted start --advertise_address=yugabyted-1 --cloud_location=cloud.region.zone2 --fault_tolerance=zone --daemon=false --join=yugabyted-0 | |
restart: unless-stopped | |
cap_add: | |
- NET_ADMIN | |
ports: | |
- "7001:7000" | |
- "9001:9000" | |
- "5434:5433" | |
depends_on: | |
yugabyted-0: | |
condition: service_healthy | |
healthcheck: | |
test: ["CMD", "/home/yugabyte/postgres/bin/pg_isready", "-h", "yugabyted-0"] | |
interval: 10s | |
timeout: 5s | |
retries: 10 | |
yugabyted-2: | |
container_name: yugabyted-2 | |
hostname: yugabyted-2 | |
image: yugabytedb/yugabyte:2.20.3.1-b2 | |
platform: linux/aarch64 | |
command: | |
- sh | |
- -c | |
- | | |
bin/yugabyted start --advertise_address=yugabyted-2 --cloud_location=cloud.region.zone3 --fault_tolerance=zone --daemon=false --join=yugabyted-0 | |
restart: unless-stopped | |
cap_add: | |
- NET_ADMIN | |
ports: | |
- "7002:7000" | |
- "9002:9000" | |
- "5435:5433" | |
depends_on: | |
yugabyted-1: | |
condition: service_healthy | |
healthcheck: | |
test: ["CMD", "/home/yugabyte/postgres/bin/pg_isready", "-h", "yugabyted-0"] | |
interval: 10s | |
timeout: 5s | |
retries: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
yugabyted-0: | |
container_name: yugabyted-0 | |
hostname: yugabyted-0 | |
image: yugabytedb/yugabyte:2.20.3.1-b2 | |
platform: linux/amd64 | |
command: | |
- sh | |
- -c | |
- | | |
bin/yugabyted start --fault_tolerance=zone --daemon=false --advertise_address=yugabyted-0 --cloud_location=cloud.region.zone1 | |
restart: unless-stopped | |
cap_add: | |
- NET_ADMIN | |
ports: | |
- "7000:7000" | |
- "7100:7100" | |
- "9000:9000" | |
- "5433:5433" | |
- "15433:15433" | |
healthcheck: | |
test: ["CMD", "/home/yugabyte/postgres/bin/pg_isready", "-h", "yugabyted-0"] | |
interval: 10s | |
timeout: 5s | |
retries: 10 | |
yugabyted-1: | |
container_name: yugabyted-1 | |
hostname: yugabyted-1 | |
image: yugabytedb/yugabyte:2.20.3.1-b2 | |
platform: linux/amd64 | |
command: | |
- sh | |
- -c | |
- | | |
bin/yugabyted start --advertise_address=yugabyted-1 --cloud_location=cloud.region.zone2 --fault_tolerance=zone --daemon=false --join=yugabyted-0 | |
restart: unless-stopped | |
cap_add: | |
- NET_ADMIN | |
ports: | |
- "7001:7000" | |
- "9001:9000" | |
- "5434:5433" | |
depends_on: | |
yugabyted-0: | |
condition: service_healthy | |
healthcheck: | |
test: ["CMD", "/home/yugabyte/postgres/bin/pg_isready", "-h", "yugabyted-0"] | |
interval: 10s | |
timeout: 5s | |
retries: 10 | |
yugabyted-2: | |
container_name: yugabyted-2 | |
hostname: yugabyted-2 | |
image: yugabytedb/yugabyte:2.20.3.1-b2 | |
platform: linux/amd64 | |
command: | |
- sh | |
- -c | |
- | | |
bin/yugabyted start --advertise_address=yugabyted-2 --cloud_location=cloud.region.zone3 --fault_tolerance=zone --daemon=false --join=yugabyted-0 | |
restart: unless-stopped | |
cap_add: | |
- NET_ADMIN | |
ports: | |
- "7002:7000" | |
- "9002:9000" | |
- "5435:5433" | |
depends_on: | |
yugabyted-1: | |
condition: service_healthy | |
healthcheck: | |
test: ["CMD", "/home/yugabyte/postgres/bin/pg_isready", "-h", "yugabyted-0"] | |
interval: 10s | |
timeout: 5s | |
retries: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
yugabyted-0: | |
container_name: yugabyted-0 | |
hostname: yugabyted-0 | |
image: yugabytedb/yugabyte:2.20.3.1-b2 | |
platform: linux/aarch64 | |
command: | |
- sh | |
- -c | |
- | | |
bin/yugabyted start --fault_tolerance=zone --daemon=false --advertise_address=yugabyted-0 --cloud_location=cloud.region.zone1 | |
restart: unless-stopped | |
cap_add: | |
- NET_ADMIN | |
ports: | |
- "7000:7000" | |
- "7100:7100" | |
- "9000:9000" | |
- "5433:5433" | |
- "15433:15433" | |
healthcheck: | |
test: ["CMD", "/home/yugabyte/postgres/bin/pg_isready", "-h", "yugabyted-0"] | |
interval: 10s | |
timeout: 5s | |
retries: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
yugabyted-0: | |
container_name: yugabyted-0 | |
hostname: yugabyted-0 | |
image: yugabytedb/yugabyte:2.20.3.1-b2 | |
platform: linux/amd64 | |
command: | |
- sh | |
- -c | |
- | | |
bin/yugabyted start --fault_tolerance=zone --daemon=false --advertise_address=yugabyted-0 --cloud_location=cloud.region.zone1 | |
restart: unless-stopped | |
cap_add: | |
- NET_ADMIN | |
ports: | |
- "7000:7000" | |
- "7100:7100" | |
- "9000:9000" | |
- "5433:5433" | |
- "15433:15433" | |
healthcheck: | |
test: ["CMD", "/home/yugabyte/postgres/bin/pg_isready", "-h", "yugabyted-0"] | |
interval: 10s | |
timeout: 5s | |
retries: 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment