Compare commits

...
7 Commits
11 changed files with 138 additions and 24 deletions
+18
View File
@@ -0,0 +1,18 @@
# Uncomment and change the following variables if you want to use them.
#RESTART=unless-stopped
#SYNOLOGY_VOLUME=volume1
#STACK_NAME=bookstack
#UID=1024
#GID=101
#TZ=Europe/Amsterdam
#BOOKSTACK_CONTAINER_NAME=BookStack
#BOOKSTACK_TAG=latest
#BOOKSTACK_PORT=80
#BOOKSTACK_APP_URL=https://bookstack.example.com
#BOOKSTACK_MARIADB_CONTAINER_NAME=BookStack-MariaDB
#BOOKSTACK_MARIADB_TAG=latest
#BOOKSTACK_MARIADB_TCP_PORT=3306
#BOOKSTACK_MARIADB_DATABASE=bookstack
#BOOKSTACK_MARIADB_USER=bookstack
#BOOKSTACK_MARIADB_PASSWORD=bookstack
#BOOKSTACK_MARIADB_ROOT_PASSWORD=bookstack
+40
View File
@@ -0,0 +1,40 @@
services:
# BookStack
bookstack:
container_name: ${BOOKSTACK_CONTAINER_NAME:-BookStack}
hostname: bookstack
image: linuxserver/bookstack:${BOOKSTACK_TAG:-latest}
restart: ${RESTART:-unless-stopped}
healthcheck:
test: curl -f http://localhost:80/ || exit 1
environment:
PUID: ${UID:-1024}
PGID: ${GID:-101}
TZ: ${TZ:-Europe/Amsterdam}
APP_URL: ${BOOKSTACK_APP_URL:-https://bookstack.example.com}
DB_HOST: bookstack-mariadb
DB_PORT: ${BOOKSTACK_MARIADB_TCP_PORT:-3306}
DB_USER: ${BOOKSTACK_MARIADB_USER:-bookstack}
DB_PASS: ${BOOKSTACK_MARIADB_PASSWORD:-bookstack}
DB_DATABASE: ${BOOKSTACK_MARIADB_DATABASE:-bookstack}
ports:
- ${BOOKSTACK_PORT:-80}:80
volumes:
- /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-bookstack}/${BOOKSTACK_CONTAINER_NAME:-BookStack}/config:/config
# MariaDB (for BookStack)
bookstack-mariadb:
container_name: ${BOOKSTACK_MARIADB_CONTAINER_NAME:-BookStack-MariaDB}
hostname: bookstack-mariadb
image: mariadb:${BOOKSTACK_MARIADB_TAG:-latest}
user: ${UID:-1024}:${GID:-101}
restart: ${RESTART:-unless-stopped}
environment:
TZ: ${TZ:-Europe/Amsterdam}
MARIADB_DATABASE: ${BOOKSTACK_MARIADB_DATABASE:-bookstack}
MARIADB_USER: ${BOOKSTACK_MARIADB_USER:-bookstack}
MARIADB_PASSWORD: ${BOOKSTACK_MARIADB_PASSWORD:-bookstack}
MARIADB_ROOT_PASSWORD: ${BOOKSTACK_MARIADB_ROOT_PASSWORD:-bookstack}
MARIADB_TCP_PORT: ${BOOKSTACK_MARIADB_TCP_PORT:-3306}
volumes:
- /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-bookstack}/${BOOKSTACK_MARIADB_CONTAINER_NAME:-BookStack-MariaDB}/var/lib/mysql:/var/lib/mysql
+58
View File
@@ -0,0 +1,58 @@
# BookStack
BookStack is a simple, self-hosted, easy-to-use platform for organising and storing information.
## Installation using Portainer
### Tested with
* Synology DS1019+ running DSM 7.2.1-69057 Update 3;
* Container Manager from Synology Package Center version 20.10.23-1437;
* Portainer.io Community Edition version 2.19.5;
* BookStack 24.02.3.
### Create the following folders
* docker/bookstack/BookStack/config
* docker/bookstack/BookStack-MariaDB/var/lib/mysql
### Installation steps
* Open Portainer with the correct environment.
* Under Stacks click the button + Add stack.
* Give your stack a name (i.e.: bookstack).
* Paste the contents of compose.yml under Web editor.
* Paste the contents of .env.sample under Environment variables.
* Click Advanced mode to be able to paste.
* Change the environment variables as you see fit.
* Click Deploy the stack and wait for Portainer to finish.
## Environment variables
The following variables could be set as an environment varaiables using the .env file.
| Value | Default | Information |
|---|---|---|
| RESTART | unless-stopped | Choose a restart policy. |
| SYNOLOGY_VOLUME | volume1 | If you have only 1 volume Docker will be installed on volume 1. |
| STACK_NAME | bookstack | The name of your project/stack and also the base folder within your docker folder. |
| UID | 1024 | The user id you want to use. |
| GID | 101 | The group id you want to use. |
| TZ | Europe/Amsterdam | |
| BOOKSTACK_CONTAINER_NAME | BookStack | This is used for the name of the container and the main folder under de docker folder. |
| BOOKSTACK_TAG | latest | Choose a version tag. |
| BOOKSTACK_PORT | 80 | Default port. |
| BOOKSTACK_APP_URL | https://bookstack.example.com | |
| BOOKSTACK_MARIADB_CONTAINER_NAME | BookStack-MariaDB | This is used for the name of the container and the main folder under de docker folder. |
| BOOKSTACK_MARIADB_TAG | latest | Choose a version tag. |
| BOOKSTACK_MARIADB_TCP_PORT | 3306 | |
| BOOKSTACK_MARIADB_DATABASE | bookstack | |
| BOOKSTACK_MARIADB_USER | bookstack | |
| BOOKSTACK_MARIADB_PASSWORD | bookstack | |
| BOOKSTACK_MARIADB_ROOT_PASSWORD | bookstack | |
## Links
* [Website](https://www.bookstackapp.com/)
* [Docker Hub](https://hub.docker.com/r/linuxserver/bookstack/)
* [LinuxServer.io](https://docs.linuxserver.io/images/docker-bookstack/)
+2
View File
@@ -10,6 +10,8 @@
#GITEA_PORT_SSH=22
#GITEA__openid__ENABLE_OPENID_SIGNIN=false
#GITEA__openid__ENABLE_OPENID_SIGNUP=false
#GITEA__server__DISABLE_SSH
#GITEA__server__LANDING_PAGE
#GITEA__service__DISABLE_REGISTRATION=false
#GITEA_MARIADB_PORT=3306
#GITEA_MARIADB_DATABASE=gitea
+3 -1
View File
@@ -12,6 +12,8 @@ services:
# More info: https://docs.gitea.com/next/administration/config-cheat-sheet
GITEA__openid__ENABLE_OPENID_SIGNIN: ${GITEA__openid__ENABLE_OPENID_SIGNIN:-false}
GITEA__openid__ENABLE_OPENID_SIGNUP: ${GITEA__openid__ENABLE_OPENID_SIGNUP:-false}
GITEA__server__DISABLE_SSH: ${GITEA__server__DISABLE_SSH:-false}
GITEA__server__LANDING_PAGE: ${GITEA__server__LANDING_PAGE:-home}
GITEA__service__DISABLE_REGISTRATION: ${GITEA__service__DISABLE_REGISTRATION:-false}
# MariaDB
#GITEA__database__DB_TYPE: mysql
@@ -59,6 +61,6 @@ services:
environment:
POSTGRES_DB: ${GITEA_POSTGRESQL_DATABASE:-gitea}
POSTGRES_USER: ${GITEA_POSTGRESQL_USER:-gitea}
POSTGRES_PASSWORD: ${GITEA_POSTGRESQL_PASSWORD:-}
POSTGRES_PASSWORD: ${GITEA_POSTGRESQL_PASSWORD:-gitea}
volumes:
- /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-gitea}/${GITEA_POSTGRESQL_CONTAINER_NAME:-Gitea-PostgreSQL}/var/lib/postgresql/data:/var/lib/postgresql/data
+1 -1
View File
@@ -7,4 +7,4 @@ services:
healthcheck:
test: curl -f http://localhost:80/ || exit 1
ports:
- ${ITTOOLS_HTTP_PORT:-80}:80
- ${ITTOOLS_PORT:-80}:80
-16
View File
@@ -1,16 +0,0 @@
services:
# Pybricks Code
pybrickscode:
container_name: ${PYBRICKSCODE_CONTAINER_NAME:-PybricksCode}
image: node:${PYBRICKSCODE_TAG:-18}
restart: ${RESTART:-unless-stopped}
healthcheck:
test: curl -f http://localhost:8000/ || exit 1
command: >
sh -c "git clone https://github.com/pybricks/pybricks-code -b \"${PYBRICKSCODE_BRANCH:-master}\" && \
cd pybricks-code && \
yarn install && \
yarn build && \
./scripts/serve.py"
ports:
- ${PYBRICKSCODE_PORT:-8000}:8000
@@ -1,6 +1,6 @@
# Uncomment and change the following variables if you want to use them.
#RESTART=unless-stopped
#PYBRICKSCODE_CONTAINER_NAME=Pybricks Code
#PYBRICKSCODE_TAG=18
#PYBRICKSCODE_TAG=latest
#PYBRICKSCODE_PORT=8000
#PYBRICKSCODE_BRANCH=master
#PYBRICKSCODE_BRANCH=master
+10
View File
@@ -0,0 +1,10 @@
services:
# Pybricks Code
pybrickscode:
container_name: ${PYBRICKSCODE_CONTAINER_NAME:-PybricksCode}
image: axchrono/pybrickscode:${PYBRICKSCODE_TAG:-latest}
restart: ${RESTART:-unless-stopped}
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:80/
ports:
- ${PYBRICKSCODE_PORT:-80}:80
@@ -32,14 +32,14 @@ The following variables could be set as an environment varaiables using the .env
|---|---|---|
| RESTART | unless-stopped | Choose a restart policy. |
| PYBRICKSCODE_CONTAINER_NAME | PybricksCode | This is used for the name of the container and the main folder under de docker folder. |
| PYBRICKSCODE_TAG | 18 | Choose a version tag. This is the tag for Node, not the main software. |
| PYBRICKSCODE_PORT | 8000 | Default port. |
| PYBRICKSCODE_BRANCH | master | Github branch or tag for the main software. Possible values are: "v2.1.1" or "v2.2.0-beta.8" |
| PYBRICKSCODE_TAG | latest | Choose a version tag. |
| PYBRICKSCODE_PORT | 80 | Default port. |
## Links
* [Homepage](https://pybricks.com/)
* [GitHub](https://github.com/pybricks/)
* [Dockerhub](https://hub.docker.com/r/axchrono/pybrickscode)
## Disclaimer
+1 -1
View File
@@ -1,6 +1,6 @@
services:
# Woordle
nsdmaker:
woordle:
container_name: ${WOORDLE_CONTAINER_NAME:-Woordle}
image: httpd:${WOORDLE_TAG:-latest}
command: >