name: third-party-testing
services:
rust:
build: ./Dockerfiles/rust
volumes:
- "./:/app"
working_dir: /app
environment:
- RUST_LOG=debug
command: cargo run --bin server
healthcheck:
test:
interval: 30s
timeout: 4m
retries: 10
start_period: 20s
test:
cap_add:
- NET_ADMIN
build: ./Dockerfiles/test
depends_on:
rust:
condition: service_healthy
command: dhclient -v -p 8068