-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
services:
backend:
build:
context: .
dockerfile: Dockerfile.backend
ports:
- "8000:8000"
volumes:
- ./backend:/app
- /app/.venv
- ./data_generator:/seed_data:ro
environment:
- ENVIRONMENT=development
- GEMINI_API_KEY=${GEMINI_API_KEY}
- DATABASE_URL=${DATABASE_URL:-postgresql://test_user:test_password@test-db:5432/test_remetra}
env_file:
- path: .env
required: false
depends_on:
- test-db
test-db:
image: pgvector/pgvector:pg15
environment:
POSTGRES_USER: test_user
POSTGRES_PASSWORD: test_password
POSTGRES_DB: test_remetra
ports:
- "5433:5432"
volumes:
- test_db_data:/var/lib/postgresql/data
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: admin@remetra.com
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "5050:80"
depends_on:
- test-db
volumes:
- pgadmin_data:/var/lib/pgadmin
volumes:
test_db_data:
pgadmin_data: