docker network create grpc-task-manager_defaultdocker compose up -d mariadb mongo tracingSet the .env :
MYSQL_URL="mysql://root:passwd@localhost:3306/user"
insecure=true
NODE_ENV=development
JAEGER_URL="http://localhost:4318/v1/traces"
HEALTH_PORT=3001
AUTH_API_URL="localhost:4003"npx prisma migrate devSet the .env :
MYSQL_URL="mysql://root:passwd@localhost:3306/auth"
PORT=4003
USER_API_URL="localhost:4002"
JWT_SECRET="super-secret"
insecure=true
JAEGER_URL="http://localhost:4318/v1/traces"
HEALTH_PORT=3002npx prisma migrate devhttps://github.com/FiloSottile/mkcert
mkcert user-api localhost
mkcert auth-api localhost
mkcert task-api localhost
mkcert front localhost
cp $(mkcert -CAROOT)/rootCA.pem .Remove the +1 part of the name of the certificates
ROOT_CA=../local/certs/rootCA.pem
FRONT_KEY=../local/certs/front-key.pem
FRONT_CERT=../local/certs/front.pem
secure=false
TASK_API_URL=localhost:4001
AUTH_API_URL=localhost:4002
USER_API_URL=localhost:4000docker compose up -d| Name | Url |
|---|---|
| project | http://localhost:4000 |
| observability ui | http://localhost:16686 |