mirror of
https://github.com/RustyRaptor/lokahi.git
synced 2026-12-03 20:15:15 -07:00
31 lines
542 B
YAML
31 lines
542 B
YAML
version: '3.1'
|
|
|
|
services:
|
|
db:
|
|
image: postgres:alpine
|
|
restart: always
|
|
environment:
|
|
POSTGRES_PASSWORD: hunter2
|
|
|
|
samplehook:
|
|
build: .
|
|
restart: always
|
|
depends_on:
|
|
- "lokahid"
|
|
environment:
|
|
PORT: 9001
|
|
command: sample_hook
|
|
|
|
lokahid:
|
|
build: .
|
|
restart: always
|
|
depends_on:
|
|
- "db"
|
|
environment:
|
|
NATS_URL: nats://nats:4222
|
|
DATABASE_URL: postgres://postgres:hunter2@db:5432/postgres?sslmode=disable
|
|
PORT: 24253
|
|
LN_DEBUG: 1
|
|
ports:
|
|
- 24253:24253
|