➜ ~ docker inspect captain-overlay-network
[
{
"Name": "captain-overlay-network",
"Id": "z7x41ato6nhodqz03pvsdadmh",
"Created": "2021-10-27T01:53:08.549111816Z",
"Scope": "swarm",
"Driver": "overlay",
"EnableIPv6": false,
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 | |
set -x | |
if [[ $# -eq 0 ]] ; then | |
echo 'PROVIDE YOUR IP' | |
exit 0 | |
fi |
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
{ | |
"ModelInfo": | |
{ | |
"modelId": "epic", | |
"authKey": "aaHYJJb4hcrmBYY3" | |
} | |
, | |
"CRF": [ | |
{ | |
"CRF_NAME": "EPIC", |
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
{ | |
"ModelInfo": | |
{ | |
"modelName": "ACCEPT Model", | |
"modelId": "accept", | |
"authKey": "aaHYJJb4hcrmBYY3" | |
} | |
, | |
"CRF": [ | |
{ |
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
{ | |
"info": { | |
"_postman_id": "6e144ca0-1d90-461e-ab75-88f7dbb93bdc", | |
"name": "PayPal REST API Simulation - Payouts", | |
"description": "The PayPal sandbox environment enables you to pass specific information in a request to trigger simulated positive and negative test scenarios. The simulated responses mimic actual API responses without calling downstream services. You can handle these responses in your code to manage your buyer’s experience.\n\nThis collection provides 4 examples of different simulations. For a complete list of negative and positive simulations you can send, visit our [Test Payouts developer docs](https://developer.paypal.com/docs/payouts/integrate/test-payouts/#show-payout).", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "PayPal Payment", |
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 | |
mkdir ~/.ssh | |
# Originally: cat private.key | openssl base64 | tr -d '\n' | |
echo $PRIVATE_KEY_BASE_64 | openssl base64 -A -d >~/.ssh/private.key | |
chmod 700 ~/.ssh/private.key | |
ssh-keyscan -p $REMOTE_SSH_PORT -H $REMOTE_SSH_ADDRESS >>~/.ssh/known_hosts |
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
captainVersion: 4 | |
caproverOneClickApp: | |
instructions: | |
start: Just a plain Docker Compose. | |
end: Docker Compose is deployed. | |
######## | |
version: '3.3' | |
services: | |
authelia: |
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
# yamllint disable rule:comments-indentation | |
--- | |
############################################################################### | |
# Authelia Configuration # | |
############################################################################### | |
theme: dark #light/dark | |
jwt_secret: 1234567890abcdefghifjkl #any text or number you want to add here to create jwt Token | |
default_redirection_url: https://google.com/ #where to redirect for a non-existent URL |
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
users: | |
user1: #username for user 1. change to whatever you'd like | |
displayname: "User Name 1" #whatever you want the display name to be | |
password: "$argon2i$v=19$m=1024,t=1,p=8$eTQ3MXdqOGFiaDZoMUtMVw$OeHWQSg9zGKslOepe5t4D1T9BZJjHA1Z+doxZrZYDgI" #generated at https://argon2.online/ | |
email: youremail@gmail.com #whatever your email address is | |
groups: #enter the groups you want the user to be part of below | |
- admins | |
- dev |
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
location /authelia { | |
internal; | |
set $upstream_authelia http://srv-captain-auth:9091/api/verify; #change the service name to match yours | |
proxy_pass_request_body off; | |
proxy_pass $upstream_authelia; | |
proxy_set_header Content-Length ""; | |
# Timeout if the real server is dead | |
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503; | |
client_body_buffer_size 128k; |