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
#!/sbin/openrc-run | |
EXE="/usr/libexec/docker/cli-plugins/docker-compose" | |
OPTS="-f /etc/conf.d/docker-compose.yml" | |
UPOPTS="-d" | |
start() { | |
ebegin "Starting docker compose" | |
$EXE $OPTS up $UPOPTS | |
eend $? |
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/bash | |
# based on https://github.com/jxcore/jxcore/blob/master/tools/jx_install.sh | |
# changed because jxcore.com was down and the aws instance no longer exists | |
NORMAL_COLOR='\033[0m' | |
RED_COLOR='\033[0;31m' | |
GREEN_COLOR='\033[0;32m' | |
GRAY_COLOR='\033[0;37m' | |
MAGENTA_COLOR='\033[0;35m' |
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
# | |
# Wide-open CORS config for nginx | |
# | |
location /polldaddy { | |
proxy_pass https://api.polldaddy.com/; | |
if ($request_method = 'OPTIONS') { | |
add_header 'Access-Control-Allow-Origin' '*'; | |
add_header 'Access-Control-Allow-Credentials' 'true'; |