galvani / docker-thingspeak

Docker Compose configuration for ThingSpeak, Postgres, nginx and Let's Encrypt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThingSpeak Docker Config

Features

  • 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

Installation

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

Todo

  • 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

About

Docker Compose configuration for ThingSpeak, Postgres, nginx and Let's Encrypt

License:MIT License


Languages

Language:Ruby 100.0%