lokale Docker Datenbank hinzugefüg #11

Merged
tsindt merged 1 commits from LokaleDatenbank into main 2026-09-25 22:32:43 +02:00
Showing only changes of commit 12d5c96dcb - Show all commits
+20
View File
@@ -0,0 +1,20 @@
# Use postgres/example user/password credentials
services:
db:
image: postgres
restart: always
# set shared memory limit when using docker compose
shm_size: 128mb
# or set shared memory limit when deploy via swarm stack
#volumes:
# - type: tmpfs
# target: /dev/shm
# tmpfs:
# size: 134217728 # 128*2^20 bytes = 128Mb
ports:
- 5432:5432
environment:
POSTGRES_USER: tsindt
POSTGRES_PASSWORD: XD14ko8d