mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-19 06:07:44 +02:00
1.4 KiB
Executable File
1.4 KiB
Executable File
cloudrac3r - bibliogram
The official container and documentation was made by cloudrac3r.
This docker-rebuild is made up by a docker-compose.yml
file.
Set-up for building process
First of all create a folder for your rebuild.sh
.
After that clone bibliogram from sr.ht
into a folder within the just created folder.
Set the variables, volumes and ports in the docker-compose.yml
in the cloned
repository according and run the rebuild.sh
Volumes
Set the following volumes with the -v tag.
Outside mount/volume name | Container mount | Description |
---|---|---|
db |
/app/db |
storage for the bibliogram database |
Ports
Set the following ports in the ports:
section.
Container Port | Recommended outside port | Protocol | Description |
---|---|---|---|
10407 |
10407 |
TCP | WebUI |
rebuild.sh
#!/bin/sh
cd /root/docker/bibliogram/bibliogram
docker-compose down
docker-compose up -d
cd ..
docker-compose.yml
version: "3"
volumes:
db:
services:
bibliogram:
build: .
image: cloudrac3r/bibliogram
volumes:
- db:/app/db
ports:
- 10407:10407
restart: unless-stopped