6. Admin Cheatsheet

Running the app

Start the container:
1
docker run --rm -p 80:3000 --env-file ./dockerenv -d pullreminders
Copied!
Stop the container:
1
docker stop <cid>
Copied!

Accessing logs

Access the application logs using the commands below:
1
# Server logs
2
docker exec <cid> tail log/production.log -f
3
4
# Worker logs
5
docker exec <cid> tail log/sidekiq.log -f
Copied!

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. 1.
    Download the new image
  2. 2.
    Import it using docker load -i pullreminders.latest.tar
  3. 3.
    Stop and start the container using the commands above
Last modified 2yr ago