diff --git a/.env.sample b/.env.sample index 480147b..5702eba 100644 --- a/.env.sample +++ b/.env.sample @@ -1,4 +1,12 @@ TYPE=rsshub -DOMAIN=rsshub.example.com +DOMAIN={{ .Domain }} LETS_ENCRYPT_ENV=production + +COMPOSE_FILE="compose.yml" + +# instagram +#COMPOSE_FILE="$COMPOSE_FILE:compose.instagram.yml" +#IG_ENABLED=1 +#IG_USERNAME= +#SECRET_IG_PASSWORD_VERSION=v1 diff --git a/README.md b/README.md index caec46f..e06605f 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,17 @@ * `abra app deploy ` For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech). + +## Tips & Tricks + +### Instgram scraping + +Use the provided username/password/proxy env vars. + +``` +# instagram +#COMPOSE_FILE="$COMPOSE_FILE:compose.instagram.yml" +#IG_ENABLED=1 +#IG_USERNAME= +#SECRET_IG_PASSWORD_VERSION=v1 +``` diff --git a/compose.instagram.yml b/compose.instagram.yml new file mode 100644 index 0000000..18542ea --- /dev/null +++ b/compose.instagram.yml @@ -0,0 +1,14 @@ +--- +version: "3.8" + +services: + app: + environment: + - IG_USERNAME + - IG_PASSWORD + - IG_PROXY="socks://proxy:9050" + + proxy: + image: palnabarun/tor + networks: + - internal