Creating the NFS Volume:
$ docker volume create --driver local \
--opt type=nfs \
--opt o=addr=192.168.1.115,uid=1000,gid=1000,rw \
--opt device=:/mnt/volumes/mysql-test \
mysql-test-1
_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 |
# 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] |
#! /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/ |
sentry
SENTRY_SECRET_KEY
to random 32 char stringdocker-compose up -d
docker-compose exec sentry sentry upgrade
to setup database and create admin userdocker-compose exec sentry pip install sentry-slack
if you want slack plugin, it can be done laterdocker-compose restart sentry
9000
#!/usr/bin/env bash | |
for port in 7000 7001 7002 7003 7004 7005 | |
do | |
mkdir ${port} | |
cd ${port} | |
cat >redis.conf << EOF | |
port ${port} | |
cluster-enabled yes | |
cluster-config-file nodes.conf |
1. Clone the repository | |
2. Install go 1.11 or later with Go modules enabled | |
3. Install binaries to $GOPATH/bin | |
go install github.com/drone/drone/cmd/drone-agent | |
go install github.com/drone/drone/cmd/drone-controller | |
go install github.com/drone/drone/cmd/drone-server | |
4. Start the server at localhost:8080 |
#!/bin/sh | |
rm -rf /home/project/* | |
FOLDER=/home/project | |
cp ./*.php $FOLDER | |
cp -r css img js $FOLDER | |
FILES=$(find css js templates -type f -regex '.*.\(js\|css\|twig\)') | |
for f in $FILES; do |