Auf Postgres17 und volume mapping aktualisiert.

This commit is contained in:
2025-11-02 15:38:21 +01:00
parent ea7cd9d171
commit 7917005c12

View File

@@ -1,7 +1,7 @@
services: services:
db: db:
image: postgres:16 image: postgres:17
container_name: TeamMapper-DB container_name: teammapper-db
hostname: teammapper-db hostname: teammapper-db
mem_limit: 1g mem_limit: 1g
cpu_shares: 768 cpu_shares: 768
@@ -13,7 +13,7 @@ services:
interval: 10s interval: 10s
retries: 10 retries: 10
volumes: volumes:
- /volume1/docker/teammapperdb:/var/lib/postgresql/data:rw - db:/var/lib/postgresql/data:rw
environment: environment:
POSTGRES_DB: teammapper POSTGRES_DB: teammapper
POSTGRES_USER: teammapperuser POSTGRES_USER: teammapperuser
@@ -22,7 +22,7 @@ services:
teammapper: teammapper:
image: ghcr.io/b310-digital/teammapper:latest image: ghcr.io/b310-digital/teammapper:latest
container_name: TeamMapper container_name: teammapper
hostname: teammapper hostname: teammapper
mem_limit: 1g mem_limit: 1g
cpu_shares: 768 cpu_shares: 768
@@ -49,3 +49,6 @@ services:
depends_on: depends_on:
db: db:
condition: service_started condition: service_started
volumes:
db: