-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 890 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (30 loc) · 890 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
services:
postgres:
image: postgres:17
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: lnurl
healthcheck:
test: ["CMD-SHELL", "pg_isready -U user -d lnurl"]
interval: 5s
timeout: 5s
retries: 10
lnurl-server:
build: .
environment:
DEPLOYMENT_ENV: local
LNURL_ADDRESS: 0.0.0.0:8080
LNURL_AUTO_MIGRATE: "true"
LNURL_DB_URL: postgres://user:password@postgres:5432/lnurl
LNURL_DOMAINS: localhost:8080,127.0.0.1:8080
LNURL_BLINK_GRAPHQL_ENDPOINT: ${LNURL_BLINK_GRAPHQL_ENDPOINT:-}
LNURL_LOG_LEVEL: info
LNURL_SCHEME: http
LNURL_SSP_AUTH_SEED: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
LNURL_WEBHOOK_DOMAIN: localhost:8080
depends_on:
postgres:
condition: service_healthy
ports:
- "8080:8080"