mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +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:
		| @@ -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 | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user