How I run all of ammobin.ca
- install docker + docker-compose
- 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>
docker-compose up -d
note: this will required access to port 80 (HTTP) and 443 (HTTPS)
docker-compose pull
docker-compose up -d
- vist stats.ammobin.ca with STATSUSER + STATSPASS OR
- 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)