blob: 6515a8a867a6d9531499f4b186517a7b72253a8b (
plain) (
blame)
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
67
68
69
70
71
72
73
74
|
version: "3.8"
services:
web:
build:
dockerfile: Dockerfile.dev
volumes:
- data:/data
- ..:/app
ports:
- 3000:3000
env_file:
- .env # Automatically load all variables from this file
command:
- pnpm
- web
working_dir: /app
depends_on:
prep:
condition: service_completed_successfully
chrome:
image: gcr.io/zenika-hub/alpine-chrome:124
restart: unless-stopped
ports:
- 9222:9222
command:
- --no-sandbox
- --disable-gpu
- --disable-dev-shm-usage
- --remote-debugging-address=0.0.0.0
- --remote-debugging-port=9222
- --hide-scrollbars
meilisearch:
image: getmeili/meilisearch:v1.13.3
volumes:
- meilisearch:/meili_data
workers:
build:
dockerfile: Dockerfile.dev
volumes:
- data:/data
- ..:/app
env_file:
- .env
working_dir: /app
environment:
MEILI_ADDR: http://meilisearch:7700
BROWSER_WEB_URL: http://chrome:9222
DATA_DIR: /data
# OPENAI_API_KEY: ...
command:
- pnpm
- workers
depends_on:
prep:
condition: service_completed_successfully
prep:
build:
dockerfile: Dockerfile.dev
env_file:
- .env
working_dir: /app
environment:
DATA_DIR: /data
volumes:
- data:/data
- ..:/app
command:
- /bin/sh
- -c
- "pnpm install --frozen-lockfile && pnpm run db:migrate"
volumes:
meilisearch:
data:
|