2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

[Docker] Alpine image fix (#9118)

* Revert to alpine3:20 / postgres:16

* Remove old hack

- No longer needed as we are using python 3.11

* Update package requirements for devcontainer

Also fixes some docker warnings from the alpine Dockerfile

* Specify SITE_URL

* Reduce log output during docker image testing
This commit is contained in:
Oliver
2025-02-21 18:02:39 +11:00
committed by GitHub
parent 96bca652c4
commit 15ad62494f
7 changed files with 17 additions and 24 deletions

View File

@ -123,7 +123,11 @@ Connecting to a different database container is entirely possible, but requires
The `inventree-server` and `inventree-worker` containers support connection to a postgres database up to (and including) version {{ config.extra.docker_postgres_version }}.
!!! warning "Newer Postgres Versions"
The InvenTree docker image supports connection to a postgres database up to version {{ config.extra.docker_postgres_version }}. Connecting to a database using a newer version of postgres is not possible.
The InvenTree docker image supports connection to a postgres database up to version {{ config.extra.docker_postgres_version }}. Connecting to a database using a newer version of postgres is not guaranteed.
#### Bypassing Backup Procedure
If you are connecting the docker container to a postgresql database newer than version `{{ config.extra.docker_postgres_version }}`, the [backup and restore commands](../start/backup.md) will fail due to a version mismatch. To bypass this issue when performing the `invoke update` command, add the `--skip-backup` flag.
## Common Issues

View File

@ -285,7 +285,7 @@ extra:
min_python_version: 3.9
min_invoke_version: 2.0.0
django_version: 4.2
docker_postgres_version: 17
docker_postgres_version: 16
version:
default: stable