Skip to content

Bump postgres from 16-alpine to 18-alpine in /netbox - #16

Merged
DanielBoring merged 3 commits into
mainfrom
dependabot/docker_compose/netbox/postgres-18-alpine
Oct 31, 2026
Merged

DanielBoring merged 3 commits into
mainfrom
dependabot/docker_compose/netbox/postgres-18-alpine

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Bumps postgres from 16-alpine to 18-alpine.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file docker_compose Pull requests that update docker_compose code labels Oct 10, 2026
Bumps postgres from 16-alpine to 18-alpine.

---
updated-dependencies:
- dependency-name: postgres
  dependency-version: 18-alpine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/docker_compose/netbox/postgres-18-alpine branch from 3a45786 to a1e0959 Compare October 13, 2026 18:52

Copy link
Copy Markdown
Owner

Prepared and reviewed at 46f44e4 (base 863bb51). Only netbox/compose.yaml, netbox/README.md and netbox/.env.example differ from main.

Changes: pin PostgreSQL 18.6 Alpine by verified digest and mount its versioned cluster under /var/lib/postgresql; pin web and worker to the identical NetBox v4.7.4-5.1.1 image, verified to match current latest content. Redis is unchanged. Document fresh-install vs existing-install gates, logical dump/restore, key/image/file preservation, ZFS mountpoint preflight and rollback. Correct selected-image bootstrap token/login guidance. An unknown deployed app version must be inventoried and separately reviewed before migration.

Vendor evidence: https://github.com/netbox-community/netbox-docker/blob/5.1.1/docker-compose.yml explicitly uses PostgreSQL 18 and its parent mount. NetBox release: https://github.com/netbox-community/netbox/releases/tag/v4.7.4

Validation: 26 checker tests, all 48 static Compose checks, 12 README Bash syntax checks and git diff --check passed. Isolated LOCAL Docker Desktop rehearsal with synthetic data passed PostgreSQL 16→18 dump/restore, container recreation/persistence, and rollback to retained 16 storage. The same Site, original test password, authenticated Django view, media marker, HTTP readiness and ltree extension checks passed; a worker executed a harmless job. All disposable resources were removed.

Final-head Compose CI passed: https://github.com/DanielBoring/HomeLab/actions/runs/41211877903

Limits: no production data/credentials, modern API-token authentication, plugins/SSO, real integrations, Traefik/TLS or TrueNAS/ZFS restore tested. NetBox was absent from the inspected live environment. No live database change or deployment performed. Held for user approval before merge because Portainer tracks main with automatic re-pulls.

@DanielBoring
DanielBoring merged commit cd62a22 into main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file docker_compose Pull requests that update docker_compose code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant