Skip to content
how to run https://ammobin.ca using docker-compose
HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
caddy-srv
dashboards
.gitignore
Caddyfile
LICENSE
README.md
crons.txt
docker-compose.yml
fluentd.conf
goaccess.conf
redis.conf

README.md

ammobin-compose

How I run all of ammobin.ca

getting started

  1. install docker + docker-compose
  2. create .env with
SITE=<your domain name, ie: ammobin.ca>
EMAIL=<email to receive messages from lets encrypt>
wrapapi_key=<SOME_API_KEY>
STATSPASS=<some good password>
STATSUSER=<some good username>
ES_URL=<url to your elasticsearch cluster>
ES_USER=<http username for elasticsearch>
ES_PASSWORD=<http password for elasticsearch>
  1. docker-compose up -d

note: this will required access to port 80 (HTTP) and 443 (HTTPS)

how to update existing deployment

  1. docker-compose pull
  2. docker-compose up -d

how to see how the site is actually doing

  1. vist stats.ammobin.ca with STATSUSER + STATSPASS OR
  2. set up your own elasticsearch cluster at home (see https://ramsay.xyz/2018/10/13/how-to-secure-elasticsearch-with-caddy.html for some inspiration)
You can’t perform that action at this time.