laconic-registry-cli/docker-compose.yml
Prathamesh Musale b01201ca50
All checks were successful
Tests / cli_tests (18.x) (push) Successful in 7m42s
Add CLI tests and setup CI (#53)
Part of #52

- Add tests for the CLI following demo steps present in the README
- Setup CI to run the CLI tests

Reviewed-on: #53
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-01-29 04:46:32 +00:00

27 lines
679 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:
- ./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