The simulator server.
- Dev:
docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d
Server will run at http://localhost.
- Prod:
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
After a change to web:
docker compose build web
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
./create-act.sh
sudo docker exec -ti demo-db-1 psql -U postgres -d db
./build.sh
sudo docker exec -it demo-db-1 psql -U postgres -d db -c "select events.id, events.created_on, events.code, users.id, users.email from events inner join users on events.uid = users.id where events.created_on > (NOW() - INTERVAL '15 hours' ) order by events.created_on;"
- Can we provide the docker image for the simulator on the registry, include it in the simulator readme and also use it here? https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-docker-hub
- Use https://github.com/docker/docker-py
- Use custom.css to hide notebook header. Create custom buttons for restart and stop. (include option for container as well)
- Share/fork/view.