Skip to content

Commit d08e8b8

Browse files
authored
Merge pull request #1326 from netbox-community/renovate/docker.io-postgres-17.x
Update docker.io/postgres Docker tag to v17
2 parents 5a61886 + 49d80c9 commit d08e8b8

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docker-compose.test.yml

Lines changed: 11 additions & 11 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,15 +31,15 @@ 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
3838
timeout: 3s
3939
interval: 15s
4040

4141
postgres:
42-
image: docker.io/postgres:16-alpine
42+
image: docker.io/postgres:17-alpine
4343
env_file: env/postgres.env
4444
healthcheck:
4545
test: pg_isready -q -t 2 -d $$POSTGRES_DB -U $$POSTGRES_USER ## $$ because of docker-compose
@@ -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

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ services:
4646

4747
# postgres
4848
postgres:
49-
image: docker.io/postgres:16-alpine
49+
image: docker.io/postgres:17-alpine
5050
healthcheck:
5151
test: pg_isready -q -t 2 -d $$POSTGRES_DB -U $$POSTGRES_USER
5252
start_period: 20s

0 commit comments

Comments
 (0)