Initial commit

This commit is contained in:
2026-07-18 02:10:34 +00:00
commit 21ae003ded
54 changed files with 3269 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
services:
client:
build:
context: .
dockerfile: apps/client/Dockerfile
restart: unless-stopped
ports:
- 3000:3000
environment:
- NEXT_PUBLIC_API_URL="http://server:3000"
depends_on:
- server
server:
build:
context: .
dockerfile: apps/server/Dockerfile
restart: unless-stopped
ports:
- 3000
environment:
- BETTER_AUTH_URL="http://localhost:3000"
- DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres
depends_on:
- postgres
- redis
postgres:
image: postgres:13
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
redis:
image: redis:7
restart: always
ports:
- "6379:6379"
volumes:
- redis-data:/data
volumes:
postgres-data:
redis-data: