diff --git a/app/.env b/app/.env new file mode 100644 index 0000000..3792c0b --- /dev/null +++ b/app/.env @@ -0,0 +1,6 @@ +DB_HOST=postgres +DB_PORT=5432 +DB_SCHEMA=public +POSTGRES_DB=bizmatch +POSTGRES_USER=bizmatch +POSTGRES_PASSWORD=xieng7Seih \ No newline at end of file diff --git a/app/docker-compose.yml b/app/docker-compose.yml new file mode 100644 index 0000000..6c88db2 --- /dev/null +++ b/app/docker-compose.yml @@ -0,0 +1,24 @@ +version: '3.8' + +services: + + postgres: + image: postgres:15.5-alpine3.19 + volumes: + - bizmatch_volume:/var/lib/postgresql/data + environment: + POSTGRES_DB: ${POSTGRES_DB} + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + ports: + - "5432:5432" + networks: + - bizmatch + +networks: + bizmatch: + external: true + +volumes: + bizmatch_volume: + external: true