chore: bootstrap monorepo (turbo, biome, docker-compose, env, CHOICES)
This commit is contained in:
34
docker-compose.yml
Normal file
34
docker-compose.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: bmm-postgres
|
||||
environment:
|
||||
POSTGRES_USER: bmm
|
||||
POSTGRES_PASSWORD: bmm
|
||||
POSTGRES_DB: bmm
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- bmm_pg:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U bmm -d bmm"]
|
||||
interval: 3s
|
||||
timeout: 3s
|
||||
retries: 20
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: bmm-redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- bmm_redis:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 3s
|
||||
timeout: 3s
|
||||
retries: 20
|
||||
|
||||
volumes:
|
||||
bmm_pg:
|
||||
bmm_redis:
|
||||
Reference in New Issue
Block a user