6. Admin Cheatsheet

Running the app

Start the container:

docker run --rm -p 80:3000 --env-file ./dockerenv -d pullreminders

Stop the container:

docker stop <cid>

Accessing logs

Access the application logs using the commands below:

# Server logs
docker exec <cid> tail log/production.log -f
# Worker logs
docker exec <cid> tail log/sidekiq.log -f

Installing updates

We periodically release updates, provided as a new Docker image. Update your instance by import the new Docker image then re-starting your container:

  1. Download the new image

  2. Import it using docker load -i pullreminders.latest.tar

  3. Stop and start the container using the commands above