commit 2d66ed67a1914e2595ae351ff4202a469df93256 Author: Richard Toth Date: Sat Feb 28 10:32:16 2026 +0100 init commit diff --git a/.env.dist b/.env.dist new file mode 100644 index 0000000..91d1e93 --- /dev/null +++ b/.env.dist @@ -0,0 +1,3 @@ +POSTGRES_DB=pgsql +POSTGRES_USER=pgsql +POSTGRES_PASSWORD=T297rT123we6 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..48142f0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +services: + postgres: + image: postgres:18-alpine + container_name: postgres18 + restart: unless-stopped + environment: + POSTGRES_DB: ${POSTGRES_DB} + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + volumes: + - postgres_data:/var/lib/postgresql/data + networks: + - web + +volumes: + postgres_data: + +networks: + web: + external: true