This commit is contained in:
TheFrenchGhosty 2022-09-04 15:07:25 +02:00
parent 3a57f7eb5a
commit bc22481c82
4 changed files with 27 additions and 1 deletions

View file

@ -9,5 +9,7 @@ This image mostly exist for the [PussTheCat.org](https://pussthecat.org/) instan
## Usage:
- Download (or copy the content of) the `docker-compose.yml`
- Move the docker-compose.yml file to the folder you want
- Download (or copy the content of) the config.ini from this repository
- Customize the config.js file how you want (following https://docs.breezewiki.com/Configuration.html )
- Move both files to the folder you want
- `docker-compose up -d`

3
config.ini Normal file
View file

@ -0,0 +1,3 @@
canonical_origin =
debug = false
port = 10416

10
docker-compose.yml Normal file
View file

@ -0,0 +1,10 @@
services:
breezewiki:
container_name: breezewiki
image: quay.io/pussthecatorg/breezewiki:latest
restart: unless-stopped
ports:
- "127.0.0.1:10416:10416" # Replace with "10416:10416" if you don't use a reverse proxy
volumes:
- "./config.ini:/app/config.ini"

11
docker/Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM racket/racket:8.6
WORKDIR /app
RUN apt update -y && apt upgrade -y \
&& apt install -y --no-install-recommends git \
&& apt autoclean -y \
&& apt autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& git clone --depth=1 https://gitdab.com/cadence/breezewiki.git . \
&& raco pkg install --auto --skip-installed --batch --no-docs
EXPOSE 10416
CMD ["racket", "dist.rkt"]