Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 786 Bytes

File metadata and controls

57 lines (41 loc) · 786 Bytes

@data-farmer/ex-http-graphql

example

Environment Variable

Service Domain

  • 需要公网域名
dev :
pre :
prod :
  • 需要内网域名
dev :
pre :
pord :

Initialization

# create mongodb indexes manually

Service or Component Dependencies

Local Debug

# execut the cmd at monorepo root direcrory
pnpm run ex-http-graphql:debug

Local Debug Base Docker

# 在monorepo根目录执行
pnpm run ex-http-graphql:build
# 构建js产物

# 继续在monorepo根目录执行
docker build -t ex-http-graphql -f apps/ex-http-graphql/Dockerfile apps/ex-http-graphql
# 构建image镜像

# start
docker run \
-p 7778:7778 \
# --network ex-http-graphql_local \
# --env SERVER_ENV=docker \
--name ex-http-graphql ex-http-graphql