forked from timothepoznanski/poznote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
38 lines (37 loc) · 1.02 KB
/
docker-compose-dev.yml
File metadata and controls
38 lines (37 loc) · 1.02 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
services:
webserver:
build:
context: .
dockerfile: Dockerfile
restart: always
env_file: .env
environment:
SQLITE_DATABASE: /var/www/html/data/database/poznote.db
ports:
- "${HTTP_WEB_PORT}:80"
volumes:
- "./src:/var/www/html"
- "./data:/var/www/html/data"
- "./docker/nginx/default.conf:/etc/nginx/http.d/default.conf:ro"
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--timeout=5", "-O", "/dev/null", "http://127.0.0.1/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
mcp-server:
build:
context: ./mcp-server
dockerfile: Dockerfile
image: poznote-mcp:dev
container_name: poznote-mcp-dev
restart: always
environment:
POZNOTE_API_URL: http://webserver:80/api/v1
POZNOTE_DEBUG: ${POZNOTE_DEBUG:-false}
ports:
- "127.0.0.1:${POZNOTE_MCP_PORT:-8046}:8045"
volumes:
- "./data:/var/www/html/data:ro"
depends_on:
- webserver