Initial commit

This commit is contained in:
Tiago
2025-11-29 21:18:53 -03:00
commit 86d13bee5d
14 changed files with 4216 additions and 0 deletions

34
docker-compose.yml Normal file
View File

@@ -0,0 +1,34 @@
services:
postgres:
image: postgres:15-alpine
restart: unless-stopped
environment:
POSTGRES_DB: agenda
POSTGRES_USER: agenda
POSTGRES_PASSWORD: agenda
volumes:
- postgres_data:/var/lib/postgresql/data
adminer:
image: adminer:4
restart: unless-stopped
ports:
- "8080:8080"
environment:
- ADMINER_DEFAULT_SERVER=postgres
depends_on:
- postgres
agenda:
build: .
ports:
- "4000:4000"
restart: unless-stopped
environment:
- PORT=4000
- DATABASE_URL=postgresql://agenda:agenda@postgres:5432/agenda
depends_on:
- postgres
volumes:
postgres_data: