- Download docker-compose.yml to dir named
sentry
- Change SENTRY_SECRET_KEY to random 32 char string
- Run
docker-compose up -d
- Run
docker exec -it sentry_sentry_1 sentry upgrade
to setup database and create admin user - Run
docker exec -it pip install sentry-slack
if you want slack plugin, it can be done later - Run
docker restart sentry_sentry_1
- Sentry is now running on public port 9000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Reference: https://www.smarthomebeginner.com/traefik-reverse-proxy-tutorial-for-docker | |
#Requirement: nano .env -> Set environmental variables: ${$USERDIR}, ${PUID}, ${PGID}, ${TZ}, ${DOMAINNAME}, ${CLOUDFLARE_EMAIL}, ${CLOUDFLARE_API_KEY}, ${HTTP_USERNAME}, ${HTTP_PASSWORD}, ${PLEX_CLAIM} etc. as explained in the reference. | |
version: "3.7" | |
services: | |
######### FRONTENDS ########## | |
# Traefik Reverse Proxy | |
traefik: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
THIS GIST IS OUT OF DATE AND NOT MONITORED | |
PLEASE SEE https://github.com/leecrossley/cordova-plugin-shake-detection | |
*/ | |
var shake = (function () { | |
var shake = {}, | |
watchId = null, | |
options = { frequency: 300 }, | |
previousAcceleration = { x: null, y: null, z: null }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { StateMachine, interpret, EventObject } from '@xstate/fsm' | |
import { ref, Ref, onBeforeMount } from '@vue/composition-api' | |
export default function useMachine<TContext, TEvent extends EventObject = EventObject> ( | |
stateMachine: StateMachine.Machine<TContext, TEvent, any>): { | |
current: Ref<StateMachine.State<TContext, TEvent, any>>, | |
send: StateMachine.Service<TContext, TEvent>['send'], | |
service: StateMachine.Service<TContext, TEvent>, | |
} { | |
const current = ref(stateMachine.initialState) as Ref<StateMachine.State<TContext, TEvent, any>> |