- ajust them to your use case
SUB_DOMAIN=http://ip172-18-0-91-codupu2im2rg0097icf0-
DOMAIN=.direct.labs.play-with-docker.com/
MONGODB_USER=root
MONGODB_PASSWORD=123456
MONGODB_DATABASE=subscribers
MONGODB_LOCAL_PORT=7017
MONGODB_DOCKER_PORT=27017
VSCODE_LOCAL_PORT=3000
VSCODE_DOCKER_PORT=3000
NODE_LOCAL_PORT=6868
NODE_DOCKER_PORT=4000
PRODUCTION=true
SESSION_SECRET=secret
DATABASE_URL=mongodb://127.0.0.1:27017/subscribers
- run
docker compose up
- create a .env file containing while replace secret and url and production in app directory
SESSION_SECRET=secret
DATABASE_URL=mongodb://127.0.0.1:27017/subscribers
PRODUCTION=false
- Run services/build.sh
./services/build.sh