Skip to content

Instantly share code, notes, and snippets.

@TheBeachMaster
Created January 22, 2022 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheBeachMaster/468a35cc89e2fab009e6a4ea4fe902a8 to your computer and use it in GitHub Desktop.
Save TheBeachMaster/468a35cc89e2fab009e6a4ea4fe902a8 to your computer and use it in GitHub Desktop.
# Auto Update Ourbororos see -> https://github.com/pyouroboros/ouroboros/wiki/Usage#self-update
SELF_UPDATE=true
# Update the Application only works like Ignore
#MONITOR="arthurkenotieno/site-counter-app"
# Set Update interval seconds
INTERVAL=180
# Ignore Redis
IGNORE="redis"
# Remove old images after update
CLEANUP=true
# Use the latest tag
LATEST=true
# If pulling from a secure repository :
#REPO_USER=myusername
#REPO_PASS=mypass
# Send notitifcations to Slack
# See Apprise options -> https://github.com/caronc/apprise
# Slack -> https://github.com/caronc/apprise/wiki/Notify_slack
# Create an Incoming webhook -> https://my.slack.com/services/new/incoming-webhook/
##NOTIFIERS="slack://{TOKENA}/{TOKENB}/{TOKENC}/#{CHANNEL}"
version: '2.1'
services:
site-counter-app:
container_name: sitecounter
image: arthurkenotieno/site-counter-app
environment:
NODE_ENV: production
REDIS_URL: redis://cache
ports:
- 3080:3080
depends_on:
- redis
redis:
image: redis:latest
container_name: redisdb
ports:
- 6379:6379
ouroboros:
container_name: ouroboros
image: pyouroboros/ouroboros
env_file: ./ouroboros.env
volumes:
- /var/run/docker.sock:/var/run/docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment