Merge pull request #29 from SelfhostedPro/Bookstack

Bookstack
This commit is contained in:
SelfhostedPro 2020-06-05 08:55:22 -07:00 committed by GitHub
commit bff3c19c0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 7 deletions

View file

@ -9,12 +9,12 @@ services:
- PGID=${PGID} - PGID=${PGID}
- DB_HOST=bookstack_db - DB_HOST=bookstack_db
- DB_USER=bookstack - DB_USER=bookstack
- DB_PASS=${Database_Password} - DB_PASS=${DATABASE_PASSWORD}
- DB_DATABASE=bookstackapp - DB_DATABASE=bookstackapp
volumes: volumes:
- /portainer/Files/AppData/Bookstack/Data:/config - /portainer/Files/AppData/Bookstack/Data:/config
ports: ports:
- 6875:80 - ${PORT}:80
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- bookstack_db - bookstack_db
@ -28,7 +28,7 @@ services:
- TZ=${Timezone} - TZ=${Timezone}
- MYSQL_DATABASE=bookstackapp - MYSQL_DATABASE=bookstackapp
- MYSQL_USER=bookstack - MYSQL_USER=bookstack
- MYSQL_PASSWORD=${Database_Password} - MYSQL_PASSWORD=${DATABASE_PASSWORD}
volumes: volumes:
- /portainer/Files/AppData/Bookstack/DB:/config - /portainer/Files/AppData/Bookstack/DB:/config
restart: unless-stopped restart: unless-stopped

View file

@ -3293,9 +3293,8 @@
] ]
}, },
{ {
"type": 2, "type": 3,
"title": "bookstack", "title": "bookstack",
"name": "bookstack",
"description": "Bookstack is a free and open source Wiki designed for creating beautiful documentation. Feautring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease.", "description": "Bookstack is a free and open source Wiki designed for creating beautiful documentation. Feautring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease.",
"logo": "https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Images/bookstack2.png", "logo": "https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Images/bookstack2.png",
"categories": [ "categories": [
@ -3320,12 +3319,16 @@
"preset": true "preset": true
}, },
{ {
"name": "Database_Password", "name": "DATABASE_PASSWORD",
"label": "Database Password" "label": "DATABASE_PASSWORD"
}, },
{ {
"name": "MYSQL_ROOT_PASSWORD", "name": "MYSQL_ROOT_PASSWORD",
"label": "MYSQL_ROOT_PASSWORD" "label": "MYSQL_ROOT_PASSWORD"
},
{
"name": "PORT",
"label": "PORT"
} }
] ]
} }