- When building multistage docker image for go
alpineandgodocker image has different directory structure,lib64andlibthusCGO_ENABLED=1is not both platform compatible, butCGO_ENABLED=0are.
- copy the example.env to .env file in the root of the project
- run
docker-compose up -dcommand to run all services - user-api swagger
localhost:9000/swagger - see the container logs for the
worker
nestjs- as web framework@nestjs/config- to load configurationwinston- loggermongoose- mongodb driver@nestjs/cache-manager&&cache-manager-redis-store- redis cachezod- schema validation
mongo-driveras monodb driverviperto load and read config file