GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — LingxiGraph/docker-compose.yml at main · LingXi-Org/LingxiGraph

Expand file tree

/

docker-compose.yml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
85 lines (78 loc) · 2.09 KB
/

docker-compose.yml

Copy path

File metadata and controls

85 lines (78 loc) · 2.09 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
82
83
84
85
name: lingxigraph
x-runtime: &runtime
build:
context: .
restart: unless-stopped
environment: &environment
LINGXIGRAPH_POSTGRES_URL: postgresql://lingxigraph:lingxigraph@postgres:5432/lingxigraph
LINGXIGRAPH_REDIS_URL: redis://redis:6379/0
LINGXIGRAPH_INSECURE_DEV_AUTH: "true"
OTEL_SERVICE_NAME: lingxigraph
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
security_opt:
- no-new-privileges:true
services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_DB: lingxigraph
POSTGRES_USER: lingxigraph
POSTGRES_PASSWORD: lingxigraph
healthcheck:
test: ["CMD-SHELL", "pg_isready -U lingxigraph -d lingxigraph"]
interval: 5s
timeout: 3s
retries: 20
volumes:
- postgres-data:/var/lib/postgresql/data
redis:
image: redis:7.2-alpine
restart: unless-stopped
command: ["redis-server", "--appendonly", "yes", "--maxmemory-policy", "allkeys-lru"]
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 20
volumes:
- redis-data:/data
migrate:
<<: *runtime
restart: "no"
command: ["migrate"]
# Single-server delivery: one Agent Server with an embedded Worker, serving
# the REST/SSE API and the Studio UI at /studio. Scale out with the optional
# `worker` profile below when you need independent worker replicas.
api:
<<: *runtime
command: ["server", "--host", "0.0.0.0", "--port", "8124", "--embedded-worker"]
ports:
- "8124:8124"
depends_on:
migrate:
condition: service_completed_successfully
postgres:
condition: service_healthy
redis:
condition: service_healthy
worker:
<<: *runtime
profiles: ["scale"]
command: ["worker"]
deploy:
replicas: 2
depends_on:
migrate:
condition: service_completed_successfully
postgres:
condition: service_healthy
redis:
condition: service_healthy
volumes:
postgres-data:
redis-data:
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.