- Clone repository
[email protected]:framgia/sph-sim-jms.git
- Add env file to
server
directory
DATABASE_URL="postgresql://postgres:postgres@db:5432/jms?schema=public"
- Build docker
docker compose build
- After succesful build, run
docker compose up -d
- After successful setup, you can access the following:
To stop docker, run
docker compose stop
To run yarn commands for web
or server
, first run
docker exec -it web-next sh
or
docker exec -it server-nest sh
To exit, press Ctrl+D
or run
exit