/personal-server

Applications that run on my personal server

Primary LanguageShell

Personal Server Applications

This repo is for all applications that will run on my personal server at Digial Ocean (called apollo). It consists of a docker-compose.yaml defining the services I want as well as some configuration and some helper scripts.

Updating Services After Changes

  1. Log into the console for apollo through Digital Ocean
  2. Navigate to the repo's directory.
cd Influxdb-Grafana-Docker-Compose
  1. Pull latest changes from github (or switch to the new branch and pull)
git pull origin master
  1. Stop and start the apps.
bash stop-app.sh
bash start-app.sh

Secrets

Secrets are stored in a file called .env in the root of the repository. It isn't tracked by git for security reasons. This file should really only exist on the server. Environment variables defined there can be accessed through in docker-compose.yaml with the syntax ${YOUR_SECRET_HERE}.