-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
81 lines (81 loc) · 2.07 KB
/
docker-compose.yaml
File metadata and controls
81 lines (81 loc) · 2.07 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
services:
wiki:
build:
context: .
dockerfile: Dockerfile
container_name: wiki
command: pnpm --filter @app/wiki dev
ports:
- "3001:3001"
environment:
- NEXT_PUBLIC_GIT_COMMIT=main
- NEXT_PUBLIC_GIT_BRANCH=main
- NEXT_PUBLIC_ENDPOINT=http://localhost:3001
- MEILISEARCH_HOST=http://search:7700
- TURBO_TELEMETRY_DISABLED=1
- URL_ME=/public-wiki/about-me
- DIR_DATA=/mnt/data
volumes:
- ../public-wiki:/mnt/data/public-wiki
develop:
watch:
- action: sync
path: ./
target: /app
ignore:
- '**/node_modules/'
- '**/.turbo/'
- '**/.next/'
- .idea/
- action: sync
path: apps/wiki
target: /app/apps/wiki
ignore:
- '**/node_modules/'
- '**/.turbo/'
- '**/.next/'
- .idea/
- action: sync
path: packages/parser-vimwiki
target: /app/packages/parser-vimwiki
ignore:
- '**/node_modules/'
- '**/.turbo/'
- '**/.next/'
- .idea/
- action: rebuild
path: package.json
search:
image: getmeili/meilisearch:v1.1.1
container_name: meilisearch
ports:
- "7700:7700"
environment:
- MEILI_NO_ANALYTICS=true
meilisearch-updater:
depends_on:
- wiki
- search
build:
context: .
dockerfile: Dockerfile
container_name: meilisearch-updater
command: pnpm --filter @app/meilisearch-updater dev
environment:
- NEXT_PUBLIC_ENDPOINT=http://localhost:3001
- MEILISEARCH_HOST=http://search:7700
- DIR_DATA=/mnt/data
volumes:
- ../public-wiki:/mnt/data/public-wiki
develop:
watch:
- action: sync
path: apps/meilisearch-updater
target: /app/apps/meilisearch-updater
ignore:
- '**/node_modules/'
- '**/.turbo/'
- '**/.next/'
- .idea/
- action: rebuild
path: package.json