-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
66 lines (64 loc) · 1.51 KB
/
compose.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
services:
web:
restart: always
build:
context: ./web
dockerfile: ./.nixpacks/Dockerfile
args:
CI: "true"
NIXPACKS_METADATA: "node"
NODE_ENV: "production"
NPM_CONFIG_PRODUCTION: "false"
ports:
- "1357:5173"
volumes:
- ./web:/app
networks:
critino_net:
ipv4_address: 172.16.238.12
environment:
- PUBLIC_API_URL=http://api:8000
- PUBLIC_SITE_URL
- PUBLIC_SUPABASE_URL
- PUBLIC_SUPABASE_ANON_KEY
env_file: ./web/.env
api:
restart: always
build:
context: ./services/api
dockerfile: ./.nixpacks/Dockerfile
args:
NIXPACKS_METADATA: python,poetry
NIXPACKS_POETRY_VERSION: 1.3.1
PIP_DEFAULT_TIMEOUT: 100
PIP_DISABLE_PIP_VERSION_CHECK: 1
PIP_NO_CACHE_DIR: 1
PYTHONDONTWRITEBYTECODE: 1
PYTHONFAULTHANDLER: 1
PYTHONHASHSEED: random
PYTHONUNBUFFERED: 1
ports:
- "7531:8000"
volumes:
- ./services/api:/app
networks:
critino_net:
ipv4_address: 172.16.238.11
environment:
- PUBLIC_SITE_URL
- PUBLIC_SUPABASE_URL
- PUBLIC_SUPABASE_ANON_KEY
- OPENAI_API_KEY
- LANGCHAIN_PROJECT
- LANGCHAIN_TRACING_V2
- LANGCHAIN_CALLBACKS_BACKGROUND
- LANGCHAIN_ENDPOINT
- LANGCHAIN_API_KEY
env_file: ./services/api/.env
networks:
critino_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.238.0/24