chore: add all the code from original repo

This commit is contained in:
Riccardo
2024-05-23 16:55:29 +02:00
parent d8f9a215eb
commit 85d66215a7
66 changed files with 16668 additions and 122 deletions

32
docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
version: '3.8'
services:
# app:
# build:
# context: ./
# dockerfile: Dockerfile
# image: app
# container_name: backend
# restart: unless-stopped
# ports:
# - '3000:3000'
# environment:
# - PORT=3000
# - DATABASE_URL=postgresql://postgres:postgres@postgres:5432/postgres
# depends_on:
# - postgres
postgres:
image: postgres:latest
container_name: postgres
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- '5432:5432'
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata: