This commit is contained in:
irylkov
2025-03-21 09:40:42 +03:00
commit bbb7597e17
24 changed files with 457 additions and 0 deletions

11
loms/Makefile Normal file
View File

@@ -0,0 +1,11 @@
BINDIR=${CURDIR}/bin
PACKAGE=route256/loms
bindir:
mkdir -p ${BINDIR}
build: bindir
echo "build loms"
run-migrations:
echo "run migrations"

View File

@@ -0,0 +1,28 @@
service:
host: localhost
grpc_port: 8083
http_port: 8084
jaeger:
host: localhost
port: 6831
db_master:
host: postgres-master
port: 5432
user: loms-user
password: loms-password
db_name: loms_db
db_replica:
host: postgres-replica
port: 5432
user: loms-user
password: loms-password
db_name: loms_db
kafka:
host: kafka
port: 29092
order_topic: loms.order-events
brokers: kafka:29092

View File

@@ -0,0 +1,28 @@
service:
host: localhost
grpc_port: 8083
http_port: 8084
jaeger:
host: localhost
port: 6831
db_master:
host: localhost
port: 5432
user: loms-user
password: loms-password
db_name: loms_db
db_replica:
host: localhost
port: 5433
user: loms-user
password: loms-password
db_name: loms_db
kafka:
host: localhost
port: 29092
order_topic: loms.order-events
brokers: localhost:9092

3
loms/go.mod Normal file
View File

@@ -0,0 +1,3 @@
module route256/loms
go 1.23.1