-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (46 loc) · 1.35 KB
/
docker-compose.yml
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:
qa-lab-server-dev:
profiles:
- dev
build: .
environment:
DATALAND_URL: ${DATALAND_URL}
DATALAND_API_KEY: ${DATALAND_API_KEY}
AZURE_OPENAI_API_KEY: ${AZURE_OPENAI_API_KEY}
AZURE_OPENAI_ENDPOINT: ${AZURE_OPENAI_ENDPOINT}
AZURE_DOCINTEL_API_KEY: ${AZURE_DOCINTEL_API_KEY}
AZURE_DOCINTEL_ENDPOINT: ${AZURE_DOCINTEL_ENDPOINT}
qa-lab-server-prod:
profiles:
- prod
image: ghcr.io/d-fine/datalandqalab/qalab-server:${QALAB_SERVER_VERSION}
environment:
DATALAND_URL: ${DATALAND_URL}
DATALAND_API_KEY: ${DATALAND_API_KEY}
AZURE_OPENAI_API_KEY: ${AZURE_OPENAI_API_KEY}
AZURE_OPENAI_ENDPOINT: ${AZURE_OPENAI_ENDPOINT}
AZURE_DOCINTEL_API_KEY: ${AZURE_DOCINTEL_API_KEY}
AZURE_DOCINTEL_ENDPOINT: ${AZURE_DOCINTEL_ENDPOINT}
database:
image: postgres:17.2
restart: always
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_DB: default_database
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- "127.0.0.1:5432:5432"
pgadmin:
depends_on:
- database
image: dpage/pgadmin4:8.14
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD}
ports:
- "127.0.0.1:5050:80"
volumes:
pgdata: