mirror of
https://github.com/vacp2p/de-mls.git
synced 2026-01-09 21:48:02 -05:00
32 lines
765 B
YAML
32 lines
765 B
YAML
version: "3.8"
|
|
services:
|
|
redis:
|
|
image: redis@sha256:0c6f34a2d41992ee1e02d52d712c12ac46c4d5a63efdab74915141a52c529586
|
|
entrypoint: ["redis-server", "--port", "${REDIS_PORT}"]
|
|
ports:
|
|
- "${REDIS_PORT}:${REDIS_PORT}"
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "--raw", "incr", "ping"]
|
|
interval: 1s
|
|
timeout: 3s
|
|
retries: 5
|
|
|
|
anvil:
|
|
image: ghcr.io/foundry-rs/foundry:latest
|
|
healthcheck:
|
|
test:
|
|
[
|
|
"CMD",
|
|
"cast",
|
|
"chain-id",
|
|
"--rpc-url",
|
|
"http://localhost:${ANVIL_PORT}",
|
|
]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 5
|
|
ports:
|
|
- "${ANVIL_PORT}:${ANVIL_PORT}"
|
|
entrypoint: ["anvil", "--host", "0.0.0.0"]
|
|
platform: linux/amd64
|