- docker
docker-compose.yml
.env
copy docker-compose.all.yml
and name as docker-compose.yml
create a file and name as .env
with content below
# ----- nginx ----- #
UPSTREAM_FRONTEND_IP=frontend
UPSTREAM_BACKEND_IP=backend
sudo docker compose up -d (--build)
sudo docker compose down
- docker
- npm & node
- miniconda
docker-compose.yml
.env
copy docker-compose.nginx.yml
and name as docker-compose.yml
create a file and name as .env
with content below
# ----- nginx ----- #
UPSTREAM_FRONTEND_IP=host.docker.internal
UPSTREAM_BACKEND_IP=host.docker.internal
conda env create -f ./backend/env/environment.yml
sudo docker compose up -d (--build)
conda activate stock
bash run.sh
sudo docker compose down