Skip to content

Instantly share code, notes, and snippets.

@LinusPotocnik
Last active July 12, 2022 22:13
Show Gist options
  • Save LinusPotocnik/0b6c47888b70755d6e87333da4155d4d to your computer and use it in GitHub Desktop.
Save LinusPotocnik/0b6c47888b70755d6e87333da4155d4d to your computer and use it in GitHub Desktop.
Files needed to host the JS Lifebot and keep it automatically up to date
version: '3.9'
services:
bot:
image: linuspotocnik/lifebot.js
volumes:
- database:/db
env_file:
- .env
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 86400
volumes:
database:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment