This commit is contained in:
@@ -36,6 +36,26 @@ services:
|
||||
- kevlarai-network
|
||||
restart: unless-stopped
|
||||
|
||||
backend-test:
|
||||
image: cc-api-dev:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
env_file:
|
||||
- .env.dev
|
||||
environment:
|
||||
- REDIS_HOST=redis-dev
|
||||
- API_HEALTH_URL=http://192.168.0.64:18000/health
|
||||
depends_on:
|
||||
redis-dev:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- kevlarai-network
|
||||
entrypoint: ["python", "-m", "pytest"]
|
||||
command: ["-q", "tests"]
|
||||
profiles:
|
||||
- test
|
||||
|
||||
volumes:
|
||||
redis-dev-data:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user