
On Ubuntu Noble we run `docker compose` instead of `docker-compose`. This newer tool ignores the version set in docker-compose.yaml files and emits a warning when it is set. Clean up this version on services that only run with `docker compose` and not `docker-compose`. Change-Id: I08ce1f2ddc6a07fd47b4524af21255c1c4903785
14 lines
332 B
Django/Jinja
14 lines
332 B
Django/Jinja
services:
|
|
hound:
|
|
restart: always
|
|
image: docker.io/opendevorg/hound
|
|
network_mode: host
|
|
environment:
|
|
- 'USE_HOUND_TEST_CONFIG={{ "1" if codesearch_use_test_config else "0" }}'
|
|
volumes:
|
|
- /var/lib/hound/data:/var/run/data
|
|
logging:
|
|
driver: journald
|
|
options:
|
|
tag: "docker-hound"
|