Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Verified Commit f431a8df authored by Vincent SIMONIN's avatar Vincent SIMONIN
Browse files

:adhesive_bandage: Add logging configuration for testing purpose

parent e7f12fed
No related branches found
No related tags found
1 merge request!47First merge request for NETBOX Cisco tests
Pipeline #101291 failed
......@@ -8,6 +8,12 @@ services:
start_period: 2s
retries: 30
env_file: env/netbox.env
logging:
driver: "syslog"
options:
syslog-address: "tcp://gra1-63cfda8371ef06f3c6bf175c.gra1.logs.ovh.com:6514"
syslog-format: "rfc5424"
tag: "netbox"
netbox-worker:
image: "code.europa.eu:4567/digit-c4/netbox-plugins:${TAG}"
env_file: env/netbox.env
......@@ -20,6 +26,12 @@ services:
netbox-housekeeping:
image: "code.europa.eu:4567/digit-c4/netbox-plugins:${TAG}"
env_file: env/netbox.env
logging:
driver: "syslog"
options:
syslog-address: "tcp://gra1-63cfda8371ef06f3c6bf175c.gra1.logs.ovh.com:6514"
syslog-format: "rfc5424"
tag: "netbox-housekeeping"
postgres:
env_file: env/postgres.env
logging:
......@@ -30,5 +42,17 @@ services:
tag: "netbox-postgres"
redis:
env_file: env/redis.env
logging:
driver: "syslog"
options:
syslog-address: "tcp://gra1-63cfda8371ef06f3c6bf175c.gra1.logs.ovh.com:6514"
syslog-format: "rfc5424"
tag: "netbox-redis"
redis-cache:
env_file: env/redis-cache.env
logging:
driver: "syslog"
options:
syslog-address: "tcp://gra1-63cfda8371ef06f3c6bf175c.gra1.logs.ovh.com:6514"
syslog-format: "rfc5424"
tag: "netbox-cache"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment