Skip to content

Commit

Permalink
Merge pull request #978 from netbox-community/develop
Browse files Browse the repository at this point in the history
Missing version tags for 2.5.2
  • Loading branch information
tobiasge authored Mar 29, 2023
2 parents 9cc5891 + 1e58843 commit 7bf9e1a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.1
2.5.2
19 changes: 10 additions & 9 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ services:
postgres:
condition: service_healthy
redis:
condition: service_started
condition: service_healthy
redis-cache:
condition: service_started
condition: service_healthy
env_file: env/netbox.env
user: 'unit:root'
volumes:
Expand Down Expand Up @@ -42,23 +42,24 @@ services:
image: postgres:15-alpine
env_file: env/postgres.env
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
test: "pg_isready -t 2 -d $$POSTGRES_DB -U $$POSTGRES_USER" ## $$ because of docker-compose
interval: 10s
timeout: 5s
retries: 5
redis:
redis: &redis
image: redis:7-alpine
command:
- sh
- -c # this is to evaluate the $REDIS_PASSWORD from the env
- redis-server --appendonly yes --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
env_file: env/redis.env
healthcheck:
start_period: 20s
timeout: 3s
interval: 15s
test: "timeout 2 redis-cli ping"
redis-cache:
image: redis:7-alpine
command:
- sh
- -c # this is to evaluate the $REDIS_PASSWORD from the env
- redis-server --requirepass $$REDIS_PASSWORD ## $$ because of docker-compose
<<: *redis
env_file: env/redis-cache.env
volumes:
netbox-media-files:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.4'
services:
netbox: &netbox
image: docker.io/netboxcommunity/netbox:${VERSION-v3.4-2.5.1}
image: docker.io/netboxcommunity/netbox:${VERSION-v3.4-2.5.2}
depends_on:
- postgres
- redis
Expand Down

0 comments on commit 7bf9e1a

Please sign in to comment.