networks: alb_python_network: driver: bridge ipam: config: - subnet: 172.43.0.0/16 services: scylla-node1: image: "${SCYLLA_IMAGE:-scylladb/scylla:2026.2.0}" container_name: scylla-node1 command: > --smp 2 --memory 1G --overprovisioned 1 --seeds 172.43.0.2 --listen-address 172.43.0.2 --rpc-address 172.43.0.2 volumes: - ./tests/scylla:/etc/scylla ports: - "9042:9042" - "9998:9998" - "9999:9999" networks: alb_python_network: ipv4_address: 172.43.0.2 healthcheck: test: ["CMD", "cqlsh", "172.43.0.2", "-e", "select * from system.local WHERE key='local'"] interval: 10s timeout: 5s retries: 30 scylla-node2: image: "${SCYLLA_IMAGE:-scylladb/scylla:2026.2.0}" container_name: scylla-node2 command: > --smp 2 --memory 1G --overprovisioned 1 --seeds 172.43.0.2 --listen-address 172.43.0.3 --rpc-address 172.43.0.3 volumes: - ./tests/scylla:/etc/scylla ports: - "9052:9042" - "10998:9998" - "10999:9999" networks: alb_python_network: ipv4_address: 172.43.0.3 depends_on: scylla-node1: condition: service_healthy healthcheck: test: ["CMD", "cqlsh", "172.43.0.3", "-e", "select * from system.local WHERE key='local'"] interval: 10s timeout: 5s retries: 30 scylla-node3: image: "${SCYLLA_IMAGE:-scylladb/scylla:2026.2.0}" container_name: scylla-node3 command: > --smp 2 --memory 1G --overprovisioned 1 --seeds 172.43.0.2 --listen-address 172.43.0.4 --rpc-address 172.43.0.4 volumes: - ./tests/scylla:/etc/scylla ports: - "9062:9042" - "11998:9998" - "11999:9999" networks: alb_python_network: ipv4_address: 172.43.0.4 depends_on: scylla-node1: condition: service_healthy healthcheck: test: ["CMD", "cqlsh", "172.43.0.4", "-e", "select * from system.local WHERE key='local'"] interval: 10s timeout: 5s retries: 30