mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Docker Compose Fix (#9311)
* Fix postgres version in docker-compose file - Pin to version 16 - Compatible with the alpine image * Add check for backup and restore procedures
This commit is contained in:
parent
fc34bd0a5e
commit
191c0b1007
2
.github/workflows/docker.yaml
vendored
2
.github/workflows/docker.yaml
vendored
@ -103,6 +103,8 @@ jobs:
|
|||||||
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke install
|
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke install
|
||||||
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke version
|
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke version
|
||||||
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke update
|
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke update
|
||||||
|
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke backup
|
||||||
|
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke restore
|
||||||
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke dev.setup-dev
|
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke dev.setup-dev
|
||||||
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml up -d
|
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml up -d
|
||||||
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke wait
|
docker compose --project-directory . -f contrib/container/dev-docker-compose.yml run inventree-dev-server invoke wait
|
||||||
|
@ -36,7 +36,7 @@ services:
|
|||||||
# Database service
|
# Database service
|
||||||
# Use PostgreSQL as the database backend
|
# Use PostgreSQL as the database backend
|
||||||
inventree-db:
|
inventree-db:
|
||||||
image: postgres:17
|
image: postgres:16
|
||||||
container_name: inventree-db
|
container_name: inventree-db
|
||||||
expose:
|
expose:
|
||||||
- ${INVENTREE_DB_PORT:-5432}/tcp
|
- ${INVENTREE_DB_PORT:-5432}/tcp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user