- Download docker-compose.yml to dir named
sentry
- Change
SENTRY_SECRET_KEY
to random 32 char string - Run
docker-compose up -d
- Run
docker-compose exec sentry sentry upgrade
to setup database and create admin user - (Optional) Run
docker-compose exec sentry pip install sentry-slack
if you want slack plugin, it can be done later - Run
docker-compose restart sentry
- 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
#/bin/sh | |
OPTS=$(getopt -o cehw: --long config:,expire-limit:,help,webservice: -n "$0" -- "$@") | |
if [ $? != 0 ]; then | |
echo "Terminating ..." >&2 | |
exit 1 | |
fi | |
CONFIG=/etc/letsencrypt/cli.ini | |
WEBSERVICE=nginx |
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
mkdir -p $PROJECT_NAME/roles/{web,db}/{tasks,handlers,templates} | |
touch $PROJECT_NAME/main.yml $PROJECT_NAME/roles/{web,db}/{tasks,handlers,templates}/main.yml |
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
#! /bin/sh | |
set -e | |
# This script originates from http://www.debian.org/mirror/anonftpsync | |
# CVS: cvs.debian.org:/cvs/webwml - webwml/english/mirror/anonftpsync | |
# Version: $Id: anonftpsync,v 1.43 2008-06-15 18:16:04 spaillar Exp $ | |
# Note: You MUST have rsync 2.6.4 or newer, which is available in sarge | |
# and all newer Debian releases, or at http://rsync.samba.org/ |
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
# config file for ansible -- http://ansible.com/ | |
# ============================================== | |
# nearly all parameters can be overridden in ansible-playbook | |
# or with command line flags. ansible will read ANSIBLE_CONFIG, | |
# ansible.cfg in the current working directory, .ansible.cfg in | |
# the home directory or /etc/ansible/ansible.cfg, whichever it | |
# finds first | |
[defaults] |
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
_listapi() | |
addExternalRPM(rpminfo, external_repo, strict=True) | |
description: Import an external RPM | |
This call is mainly for testing. Normal access will be through | |
a host call | |
addExternalRepoToTag(tag_info, repo_info, priority) | |
description: Add an external repo to a tag | |
addGroupMember(group, user, strict=True) | |
description: Add user to group |