-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-try-promptsail.yml
46 lines (46 loc) · 1.29 KB
/
docker-compose-try-promptsail.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
version: "3.8"
services:
mongodb:
image: mongo:latest
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
healthcheck:
test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
interval: 10s
timeout: 10s
retries: 5
start_period: 40s
promptsail-backend:
image: ghcr.io/promptsail/promptsail-backend:dev-release
container_name: promptsail-backend
ports:
- "8000:8000"
environment:
BASE_URL: "http://localhost:8000"
MONGO_URL: "mongodb://root:password@mongodb:27017"
ORGANIZATION_NAME: "PromptSail"
SSO_AUTH: "False"
depends_on:
mongodb:
condition: service_healthy
promptsail-ui:
image: ghcr.io/promptsail/promptsail-ui:dev-release
container_name: promptsail-ui
ports:
- "80:80"
environment:
PORT: 80
PROMPT_SAIL_ENV_PLACEHOLDER_BACKEND_URL: 'http://promptsail-backend:8000'
PROMPT_SAIL_ENV_PLACEHOLDER_PROXY_URL_HOST: 'https://try-promptsail.azurewebsites.net/api'
depends_on:
mongodb:
condition: service_started
promptsail-backend:
condition: service_started
networks:
internal-network:
internal: true
external-network: