- Installs and configures Postgres
- Installs and configures ThingSpeak
- Patches issue #43 for ThingSpeak
- Installs and configures nginx as the front-end web server
- Configures Let's Encrypt SSL certificates for use with nginx
Install Docker and Docker Compose and provision like so:
docker-compose up -d
On the first run, configure the database accordingly:
docker-compose run --rm thingspeak bundle exec rake db:create
docker-compose run --rm thingspeak bundle exec rake db:schema:load
- Finish nginx configuration
- Change to uWSGI/Passenger and/or Unix sockets for Rails (over HTTP servers)
- Set hostname and port correctly when proxying (Rails uses its own HTTP address)
- Let's Encrypt and automatic updates
- Environment variables for default usernames and passwords
- Backup of postgres