init docker setup

This commit is contained in:
root
2026-04-22 23:07:01 +02:00
commit 6332774b88
24 changed files with 13209 additions and 0 deletions
+12315
View File
File diff suppressed because it is too large Load Diff
+24
View File
@@ -0,0 +1,24 @@
version: '3.9'
services:
postgresql:
image: docker.io/library/postgres:latest
container_name: postgresql
environment:
- POSTGRES_USER=${POSTGRES_USER:?POSTGRES_USER not set}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:?POSTGRES_PASSWORD not set}
networks:
- postgresql
volumes:
- postgresql:/var/lib/postgresql/data
ports:
- "5432:5432"
restart: unless-stopped
networks:
postgresql:
external: true
volumes:
postgresql:
external: true