feat(infra): standalone Postgres 18 infra compose (shared greenNetwork); remove redundant postgres from app compose; add DataCopy to solution

This commit is contained in:
2026-10-15 15:12:45 +03:30
parent 7a8e371195
commit f1b55db6d1
6 changed files with 120 additions and 19 deletions

View File

@@ -33,24 +33,7 @@ services:
networks:
- greenNetwork
postgres:
image: postgres:18-alpine
restart: unless-stopped
environment:
POSTGRES_DB: greenhome
POSTGRES_USER: greenhome
POSTGRES_PASSWORD: greenhome
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- greenNetwork
networks:
serviceNetwork:
name: greenNetwork
external: true
volumes:
pgdata: