-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (54 loc) · 1.28 KB
/
docker-compose.yml
File metadata and controls
57 lines (54 loc) · 1.28 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
48
49
50
51
52
53
54
55
56
57
version: "3.8"
services:
client:
image: resolution-client
pull_policy: never
env_file:
- .env.local
build:
context: client
dockerfile: Dockerfile
args:
- NEXT_PUBLIC_ENV=local
- NEXT_PUBLIC_BACKEND_URL=${NEXT_PUBLIC_BACKEND_URL}
- NEXT_PUBLIC_SUPABASE_URL=${NEXT_PUBLIC_SUPABASE_URL}
- NEXT_PUBLIC_SUPABASE_ANON_KEY=${NEXT_PUBLIC_SUPABASE_ANON_KEY}
- NEXT_PUBLIC_CMS_URL=${NEXT_PUBLIC_CMS_URL}
- NEXT_PUBLIC_FRONTEND_URL=${NEXT_PUBLIC_FRONTEND_URL}
- NEXT_PUBLIC_AUTH_MODES=${NEXT_PUBLIC_AUTH_MODES}
container_name: web
depends_on:
- api
restart: always
ports:
- 3000:3000
api:
image: resolution-api
pull_policy: never
env_file:
- .env.local
build:
context: backend
dockerfile: Dockerfile
container_name: api
extra_hosts:
- "host.docker.internal:host-gateway"
# healthcheck:
# test: [ "CMD", "curl", "http://localhost:5050/healthz" ]
command:
- "uvicorn"
- "main:app"
- "--host"
- "0.0.0.0"
- "--port"
- "5050"
- "--workers"
- "6"
restart: always
volumes:
- ./backend/:/code/
ports:
- 5050:5050
#networks:
# quivr-network:
# driver: bridge