compose.yaml, secrets.yaml, .sops.yaml flake.nix

This commit is contained in:
Rorik Star Platinum 2025-11-03 21:25:56 +03:00
parent 6421218b28
commit 2cc36354c5
5 changed files with 94 additions and 0 deletions

23
compose.yaml Normal file
View file

@ -0,0 +1,23 @@
# compose.yaml
version: '3.9'
services:
postgres:
image: postgres:17-alpine
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
postgres_data:
driver: local