diff options
| -rw-r--r-- | docker-compose.yaml | 22 | ||||
| -rw-r--r-- | template/header.html | 1 | ||||
| -rw-r--r-- | template/home.html | 6 |
3 files changed, 10 insertions, 19 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml index 3797294..663bf2e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,20 +1,14 @@ -# example docker-compose.yaml -version: "3.7" - services: fourget: - image: luuul/4get:latest + build: + context: . + dockerfile: Dockerfile + image: moekyun/4get restart: unless-stopped environment: - FOURGET_PROTO=http - - FOURGET_SERVER_NAME=4get.ca - - FOURGET_INSTANCES=https://4get.ca - + - FOURGET_SERVER_NAME=4get.moekyun.me ports: - - "80:80" - - "443:443" - - # volumes: - # - /etc/letsencrypt/live/domain.tld:/etc/4get/certs # mount ssl - # - ./banners:/var/www/html/4get/banner # mount custom banners - # - ./captcha:/var/www/html/4get/data/captcha # mount captcha images + - "8081:80" + volumes: + - ./banners:/var/www/html/4get/banner diff --git a/template/header.html b/template/header.html index accd4cd..92caf28 100644 --- a/template/header.html +++ b/template/header.html @@ -15,7 +15,6 @@ <div class="navigation"> <a href="/">Home</a> <a href="/settings">Settings</a> - <a href="https://git.lolcat.ca/lolcat/4get_news" target="_BLANK">News</a> </div> <form method="GET" autocomplete="off"> <div class="searchbox"> diff --git a/template/home.html b/template/home.html index 3033052..8d4055b 100644 --- a/template/home.html +++ b/template/home.html @@ -23,15 +23,13 @@ <div class="searchbox"> <input type="submit" value="Search" tabindex="-1"> <div class="wrapper"> - <input type="text" maxlength="500" name="s" placeholder="Proxy search..." required autofocus> + <input type="text" maxlength="500" name="s" placeholder="Search..." required autofocus> </div> <div class="autocomplete"></div> </div> </form> - <a href="settings">Settings</a> • <a href="instances">Instances</a> • <a href="https://git.lolcat.ca/lolcat/4get_news">News</a> • <a href="api.txt">API</a> • <a href="about">About</a> • <a href="https://git.lolcat.ca/lolcat/4get">Source</a><br> - <a href="/donate"><b>Donate to the project</b></a> + <a href="settings">Settings</a> • <a href="about">About</a> • <a href="https://git.lolcat.ca/lolcat/4get">Source</a><br> <div class="subtext"> - <a href="https://4get.ca">Clearnet</a> • <a href="http://4getwebfrq5zr4sxugk6htxvawqehxtdgjrbcn2oslllcol2vepa23yd.onion">Tor</a> • <a href="https://lolcat.ca">Report a problem</a><br> Running on <b>v{%version%}</b>!! </div> </div> |
