- When building multistage docker image for go
alpine
andgo
docker image has different directory structure,lib64
andlib
thusCGO_ENABLED=1
is not both platform compatible, butCGO_ENABLED=0
are.
- copy the example.env to .env file in the root of the project
- run
docker-compose up -d
command 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-driver
as monodb driverviper
to load and read config file