The signup stack in ~/signup is running with two signups. The workshop got a bigger room: raise SEAT_LIMIT in app.py from 30 to 40.
sh
curl -s localhost:8000
grep -n SEAT_LIMIT app.pyEdit the file:
Apply the change without restarting Postgres. First see that a plain up -d is not enough:
sh
docker compose up -d
docker compose exec web grep -n SEAT_LIMIT app.pyRebuild and recreate:
sh
docker compose up -d --build
docker compose exec web grep -n SEAT_LIMIT app.pyNow remove the stack while keeping the data, check the volume, and bring it back:
sh
docker compose down
docker volume ls
docker compose up -d
curl -s localhost:8000The workshop is over. Remove everything, including the database:
sh
docker compose down -v
docker volume ls