enable container init system

This commit is contained in:
2024-04-03 20:53:20 +02:00
parent ff3a3d06bc
commit 71e8965ced

View File

@@ -2,6 +2,7 @@ services:
db: db:
image: postgres:16-alpine image: postgres:16-alpine
init: true
environment: environment:
POSTGRES_DB: "gaehsnitzdb" POSTGRES_DB: "gaehsnitzdb"
POSTGRES_USER: "gaehsnitzuser" POSTGRES_USER: "gaehsnitzuser"
@@ -14,6 +15,7 @@ services:
web: web:
build: build:
context: . context: .
init: true
environment: environment:
DB_HOST: "db" DB_HOST: "db"
DB_PORT: "5432" DB_PORT: "5432"