mirror of
https://github.com/3ybactuk/marketplace-go-service-project.git
synced 2025-10-30 05:53:45 +03:00
init
This commit is contained in:
11
loms/Makefile
Normal file
11
loms/Makefile
Normal 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"
|
||||
28
loms/configs/values_ci.yaml
Normal file
28
loms/configs/values_ci.yaml
Normal 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
|
||||
28
loms/configs/values_local.yaml
Normal file
28
loms/configs/values_local.yaml
Normal 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
3
loms/go.mod
Normal file
@@ -0,0 +1,3 @@
|
||||
module route256/loms
|
||||
|
||||
go 1.23.1
|
||||
Reference in New Issue
Block a user