7 Commits

7 changed files with 37 additions and 11 deletions

View File

@ -6,7 +6,7 @@ steps:
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
settings:
host: swarm-test.autonomic.zone
stack: example_com # UPDATE ME
stack: 4get
generate_secrets: true
purge: true
deploy_key:
@ -14,9 +14,15 @@ steps:
networks:
- proxy
environment:
DOMAIN: example.swarm-test.autonomic.zone # UPDATE ME
STACK_NAME: example_com # UPDATE ME
DOMAIN: search.swarm-test.autonomic.zone
STACK_NAME: 4get
LETS_ENCRYPT_ENV: production
ROBOTS_TXT_VERSION: v1
ONION_TXT_VERSION: v1
ABOUT_HTML_VERSION: v1
HEADER_HTML_VERSION: v1
HOME_HTML_VERSION: v1
API_TXT_VERSION: v1
trigger:
branch:
- main

View File

@ -1,4 +1,5 @@
TYPE=4get
COMPOSE_FILE="compose.yml"
DOMAIN=4get.example.com
@ -21,8 +22,12 @@ DEFAULT_THEME="Dark" # Options: "Catppuccin Latte" "Dark Christmas" "Wine" "Catp
## Enable onion routing, this will make all searches using tor
#COMPOSE_FILE="$COMPOSE_FILE:compose.tor.yml"
## Enable tinyauth forward auth
#COMPOSE_FILE="$COMPOSE_FILE:compose.tiny.yml"
#TINY_MIDDLEWARE="your_domain_com"
INCLUDE_NEWS_LINK=false
INCLUDE_4GET_DONATION_LINK=true
INCLUDE_SOURCE_LINK=false
API_ENABLED=false
#MOTD="A proxy search engine that doesn't suck"
#MOTD="A proxy search engine that doesn't suck"

View File

@ -5,13 +5,13 @@
<!-- metadata -->
* **Category**: Apps
* **Status**: 1, wip
* **Status**: 1
* **Image**: [`4get`](https://hub.docker.com/r/4get), 4, upstream
* **Healthcheck**: Yes
* **Backups**: No
* **Email**: No
* **Email**: N/A
* **Tests**: No
* **SSO**: No
* **SSO**: N/A
<!-- endmetadata -->
@ -27,6 +27,8 @@
## Captcha
> note: this feature has not been extensively tested. If this is something you'd like to use then please follow this guide and open an issue if you encounter any problems.
4get does not support corporate captcha providers (ie. reCaptcha, hCaptcha, etc.) instead it employs a very simple image captcha based on user provided images. Images must be png, 100x100 in size, and named in order (ie. 1.png, 2.png, 3.png, etc.)
Images are segmented into datasets which are directories with a name of the person, place, or thing that are the subject of the images. Provide 4get only with images that match the name of your dataset. go to `https://4get.ca/web?s=test` for an examples
@ -51,4 +53,9 @@ captcha/
* `abra app run <app-domain> app mkdir -p /var/www/html/4get/data/captcha/<dataset-name>`
* `abra app cp <app-domain> /local/path/to/captcha_images/* app:/var/www/html/4get/data/captcha/<dataset-name>`
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
## Backups
At this point, not adding backups is a deliberate choice as this is a recipe I maintain in offtime and I don't need backups. If this is a feature you would like to see then please open a PR with the relevant additions. (brooke)
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).

8
compose.tiny.yml Normal file
View File

@ -0,0 +1,8 @@
---
version: "3.11"
services:
app:
deploy:
labels:
- "traefik.http.routers.${STACK_NAME}.middlewares=${TINY_MIDDLEWARE}"

View File

@ -3,7 +3,7 @@ version: "3.11"
services:
app:
image: luuul/4get:1.0.29
image: luuul/4get:1.0.37
environment:
- FOURGET_PROTO=http
- DISALLOWED_SSL=TLS_AES_256_GCM_SHA384
@ -19,7 +19,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=0.2.0+1.0.29"
- "coop-cloud.${STACK_NAME}.version=0.2.0+1.0.34"
volumes:
- banners:/var/www/html/4get/banner/
configs:

View File

@ -1 +0,0 @@
initial release, please see readme for extra configuration options

1
release/0.3.0+1.0.34 Normal file
View File

@ -0,0 +1 @@
Minor upgrade, no action required