From e79d3356d051a2b715b9f2adac3f335c3d194270 Mon Sep 17 00:00:00 2001 From: Mathias Beaulieu-Duncan Date: Mon, 9 Dec 2024 10:45:09 -0500 Subject: [PATCH] initial commit --- .env.example | 3 +++ .gitignore | 1 + docker-compose.yaml | 12 ++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 .env.example create mode 100644 .gitignore create mode 100644 docker-compose.yaml diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..57493aa --- /dev/null +++ b/.env.example @@ -0,0 +1,3 @@ +DB_DATABASE= +DB_USER= +DB_PASSWORD= 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.yaml b/docker-compose.yaml new file mode 100644 index 0000000..59b4b6f --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,12 @@ +version: '3.8' + +services: + database: + image: postgres:alpine + restart: unless-stopped + environment: + POSTGRES_DB: ${DB_DATABASE} + POSTGRES_USER: ${DB_USER} + POSTGRES_PASSWORD: ${DB_PASSWORD} + ports: + - "5432:5432"