From 7c94985783cf4bcea47b20163dbab477728704a2 Mon Sep 17 00:00:00 2001 From: Sergey Krylov Date: Sat, 24 Jan 2026 14:26:10 +0300 Subject: [PATCH] feat: add postgres --- compose.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 compose.yml diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..db81be3 --- /dev/null +++ b/compose.yml @@ -0,0 +1,22 @@ +version: '3.9' +name: teacinema +services: + postgres: + container_name: teacinema-postgres + image: postgres:15-alpine + environment: + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + ports: + - "${POSTGRES_PORT}:5432" + volumes: + - postgres_data:/var/lib/postgresql/data + networks: + - teacinema + +volumes: + postgres_data: + redis_data: + +networks: + teacinema: