Skip to content

Commit 49d80c9

Browse files
committed
Make superlinter happy
1 parent db34a0a commit 49d80c9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docker-compose.test.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ services:
99
redis-cache:
1010
condition: service_healthy
1111
env_file: env/netbox.env
12-
user: 'unit:root'
12+
user: "unit:root"
1313
volumes:
14-
- ./test-configuration/test_config.py:/etc/netbox/config/test_config.py:z,ro
14+
- ./test-configuration/test_config.py:/etc/netbox/config/test_config.py:z,ro
1515
healthcheck:
1616
test: curl -f http://localhost:8080/login/ || exit 1
1717
start_period: ${NETBOX_START_PERIOD-120s}
@@ -20,9 +20,9 @@ services:
2020
netbox-worker:
2121
<<: *netbox
2222
command:
23-
- /opt/netbox/venv/bin/python
24-
- /opt/netbox/netbox/manage.py
25-
- rqworker
23+
- /opt/netbox/venv/bin/python
24+
- /opt/netbox/netbox/manage.py
25+
- rqworker
2626
healthcheck:
2727
test: ps -aux | grep -v grep | grep -q rqworker || exit 1
2828
start_period: 40s
@@ -31,7 +31,7 @@ services:
3131
netbox-housekeeping:
3232
<<: *netbox
3333
command:
34-
- /opt/netbox/housekeeping.sh
34+
- /opt/netbox/housekeeping.sh
3535
healthcheck:
3636
test: ps -aux | grep -v grep | grep -q housekeeping || exit 1
3737
start_period: 40s
@@ -51,12 +51,12 @@ services:
5151
redis: &redis
5252
image: docker.io/valkey/valkey:8.0-alpine
5353
command:
54-
- sh
55-
- -c # this is to evaluate the $REDIS_PASSWORD from the env
56-
- valkey-server --save "" --appendonly no --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
54+
- sh
55+
- -c # this is to evaluate the $REDIS_PASSWORD from the env
56+
- valkey-server --save "" --appendonly no --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
5757
env_file: env/redis.env
5858
healthcheck:
59-
test: "[ $$(valkey-cli --pass \"$${REDIS_PASSWORD}\" ping) = 'PONG' ]"
59+
test: '[ $$(valkey-cli --pass "$${REDIS_PASSWORD}" ping) = ''PONG'' ]'
6060
start_period: 5s
6161
timeout: 3s
6262
interval: 1s

0 commit comments

Comments
 (0)