- Rename .env.example to .env by removing the .example suffix.
- Fill in the relevant parameters in the
.env
file.
- APP_ENV: Represents the environment. Options include:
- dev: Development environment
- prod: Production environment
- uat: Testing environment
First: create app_network
docker network create --driver bridge --subnet=<subnet>/24 --gateway=<gateway_ip> app-network
Second: build and up docker-compose
docker-compose -f docker-compose.base.yml -f docker-compose.v1.yml build
docker-compose -f docker-compose.base.yml -f docker-compose.v1.yml up