Sign inSign up

samuelallain/garradin

By samuelallain

•Updated about 4 years ago

Garradin on Alpine Linux with Docker

Image
0

193

samuelallain/garradin repository overview

Garradin 1.1.26 on Alpine Linux with Docker. With Alpine 3.1.16, PHP 8.1 and Nginx 1.22.0.

Github repository⁠

⁠Usage

Pre-requisite : Docker Desktop.

Option 1 from Docker Hub⁠ : download the image and launch the container in one line

sudo docker run -d -t --name ga -p 80:80 -v vol-ga:/var/www/garradin/data/ samuelallain/garradin 

Option 2 from the Github repository : build the image and launch the container

# clone the repository
git clone https://github.com/SamuelAllain/docker-garradin.git
cd docker-garradin

# build the image
sudo docker build -t garradin .

# launch the container
sudo docker run -d -t --name ga -p 80:80 -v vol-ga:/var/www/garradin/data/ garradin 

Then open http://localhost:80⁠ in your browser.


To stop and remove the container

sudo docker rm -f ga

To shell inside the container :

sudo docker exec -it ga sh

To start off a new database, just remove the volume :

sudo docker volume rm vol-ga

and run again.

⁠Acknowledgements

This is inspired by Aurélien Janvier⁠'s and Tim de Pater⁠'s works. Thanks to them !

It also relies on resources hosted on Garradin's fossil server :

Tag summary

Content type

Image

Digest

Size

42.5 MB

Last updated

about 4 years ago

docker pull samuelallain/garradin