commit 7c94985783cf4bcea47b20163dbab477728704a2 Author: Sergey Krylov Date: Sat Jan 24 14:26:10 2026 +0300 feat: add postgres 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: