
Currently codesearch uses syslog logging with docker but podman doesn't support syslog. Podman does support journald which is basically equivalent for us since we have journald log to syslog too. Update for podman compatibility in preparation for upgrades to Noble. Change-Id: Id7da6b70faad9521da6a39eaa9543b97c0136d58
16 lines
346 B
Django/Jinja
16 lines
346 B
Django/Jinja
version: '3'
|
|
|
|
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"
|