-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
45 lines (42 loc) · 1.13 KB
/
compose.dev.yml
File metadata and controls
45 lines (42 loc) · 1.13 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
name: gnotus-dev
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile.dev
init: true
depends_on:
- search
environment:
- GNOTUS_BASE_URL=http://localhost:5173
- GNOTUS_DB_URL=sqlite:/data/gnotus.db
- GNOTUS_UPLOADS_DIR=/data/uploads
- GNOTUS_LOG_LEVEL=DEBUG
- GNOTUS_SESSION_COOKIE=session
- GNOTUS_SESSION_SECRET_KEY=dev_session_secret_key
- GNOTUS_SESSION_HTTPS_ONLY=False
- GNOTUS_CSRF_SECRET_KEY=dev_csrf_secret_key
- GNOTUS_MEILISEARCH_URL=http://search:7700
- GNOTUS_MEILISEARCH_API_KEY=dev_meilisearch_api_key
- GNOTUS_CONFIG_FILE=/app/config.yml
volumes:
- ./data:/data
- ./backend:/app
search:
image: getmeili/meilisearch:v1.15
environment:
- MEILI_MASTER_KEY=dev_meilisearch_api_key
volumes:
- ./data/meilisearch:/data.ms
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
ports:
- "127.0.0.1:5173:5173"
volumes:
- ./frontend:/app
environment:
- API_ADDRESS=http://backend:8000
- VITE_HOST=0.0.0.0
- VITE_PORT=5173