-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselur-compose.yml
More file actions
40 lines (37 loc) · 990 Bytes
/
Copy pathselur-compose.yml
File metadata and controls
40 lines (37 loc) · 990 Bytes
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
# SPDX-License-Identifier: MPL-2.0
# Glyphbase Docker Compose Configuration
services:
glyphbase:
image: ghcr.io/hyperpolymath/glyphbase:latest
container_name: glyphbase
ports:
- "4000:4000"
volumes:
- ./data:/data
environment:
- PORT=4000
- DATABASE_PATH=/data
- SECRET_KEY=${SECRET_KEY:-change-me-in-production}
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:4000/health"]
interval: 30s
timeout: 3s
retries: 3
start_period: 5s
# Optional: Lithoglyph standalone database
lithoglyph:
image: ghcr.io/hyperpolymath/lithoglyph:latest
container_name: lithoglyph-db
ports:
- "5432:5432"
volumes:
- lithoglyph-data:/var/lib/lithoglyph
environment:
- LITHOGLYPH_DATA_DIR=/var/lib/lithoglyph
restart: unless-stopped
profiles:
- full
volumes:
lithoglyph-data:
driver: local