Tony
ed10bb987a
Update LICENSE
should be on the safer side now right? it's not like Will would care.
4get-apache
Dockerfile and compose for 4get bleeding edge, with PUID, PGID and port config.
Why?
- I wanted to learn how to build a custom docker image
- The official 4get image takes forever for updates
- There is no PUID, PGID or port configuration on the official image
I kept the structure pretty simple, so hey, it might help another noob learn Dockerfile
Dockerfile
Simply git clone this repo:
git clone https://git.plunked.party/tony/4get-apache
and then run ./rebuild:
cd 4get-apache/
chmod +x ./rebuild
./rebuild
Docker Compose
Here's an example docker-compose.yaml for the service:
services:
fourget:
container_name: fourget
image: fourget-apache
restart: ${RESTART_MODE}
environment:
- FOURGET_SERVER_NAME=4get.plunked.party
- FOURGET_SERVER_LONG_DESCRIPTION="PLUNKED!!!!"
- FOURGET_SERVER_SHORT_DESCRIPTION="click here 4 sum fun."
- FOURGET_BOT_PROTECTION=0
- FOURGET_DEFAULT_THEME="Dark"
- PUID=${FOURGET_ID}
- PGID=${FOURGET_ID}
- PORT=6969
volumes:
- ./4get/banner:/var/www/html/4get/banner
- ./4get/template/home.html:/var/www/html/4get/template/home.html
There's some verbose when running docker compose logs.
Languages
PHP
67.9%
Shell
18.5%
Dockerfile
13.6%