laconic-registry-cli/docker-compose.yml
Prathamesh Musale 395e8bddee
Some checks failed
Tests / cli_tests (18.x) (pull_request) Failing after 41s
Add a script to run tests and update gitea workflow
2024-01-24 16:48:04 +05:30

27 lines
682 B
YAML

services:
laconicd:
restart: unless-stopped
image: cerc/laconicd:local
command: ["sh", "/docker-entrypoint-scripts.d/create-fixturenet.sh"]
environment:
- TEST_AUCTION_ENABLED
- TEST_REGISTRY_EXPIRY
- LOGLEVEL
volumes:
- /tmp/laconicd/init.sh:/docker-entrypoint-scripts.d/create-fixturenet.sh
healthcheck:
test: ["CMD", "curl", "-v", "http://127.0.0.1:6060"]
interval: 1s
timeout: 5s
retries: 30
ports:
- "9473:9473"
- "1317:1317"
cli-test-runner:
image: cerc/laconic-registry-cli:local
depends_on:
laconicd:
condition: service_healthy
command: tail -F /dev/null