Skip to content

Commit d279c4b

Browse files
committed
Commit Initial
0 parents  commit d279c4b

File tree

3 files changed

+66
-0
lines changed

3 files changed

+66
-0
lines changed

.env

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Environment
2+
APP_ENV=production
3+
APP_DEBUG=false
4+
APP_KEY=SomeRandomString
5+
6+
# Database details
7+
DB_HOST=localhost
8+
DB_DATABASE=database_database
9+
DB_USERNAME=database_username
10+
DB_PASSWORD=database_user_password
11+
12+
# Cache and session
13+
CACHE_DRIVER=file
14+
SESSION_DRIVER=file
15+
QUEUE_DRIVER=sync
16+
17+
# Storage
18+
STORAGE_TYPE=local
19+
# Amazon S3 Config
20+
STORAGE_S3_KEY=false
21+
STORAGE_S3_SECRET=false
22+
STORAGE_S3_REGION=false
23+
STORAGE_S3_BUCKET=false
24+
# Storage URL
25+
# Used to prefix image urls for when using custom domains/cdns
26+
STORAGE_URL=false
27+
28+
# General auth
29+
AUTH_METHOD=standard
30+
31+
# Social Authentication information. Defaults as off.
32+
GITHUB_APP_ID=false
33+
GITHUB_APP_SECRET=false
34+
GOOGLE_APP_ID=false
35+
GOOGLE_APP_SECRET=false
36+
# URL used for social login redirects, NO TRAILING SLASH
37+
APP_URL=http://bookstack.dev
38+
39+
# External services such as Gravatar
40+
DISABLE_EXTERNAL_SERVICES=false
41+
42+
# LDAP Settings
43+
LDAP_SERVER=false
44+
LDAP_BASE_DN=false
45+
LDAP_DN=false
46+
LDAP_PASS=false
47+
LDAP_USER_FILTER=false
48+
LDAP_VERSION=false
49+
50+
# Mail settings
51+
MAIL_DRIVER=smtp
52+
MAIL_HOST=localhost
53+
MAIL_PORT=1025
54+
MAIL_USERNAME=null
55+
MAIL_PASSWORD=null
56+
MAIL_ENCRYPTION=null

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM php:5.6-apache
2+
RUN apt-get update && apt-get install -y git zlib1g-dev && docker-php-ext-install pdo pdo_mysql mbstring zip
3+
RUN cd ~ && curl -sS https://getcomposer.org/installer | php
4+
RUN mv ~/composer.phar /usr/local/bin/composer
5+
RUN cd /var/www/ && git clone https://github.com/ssddanbrown/BookStack.git --branch release --single-branch BookStack
6+
RUN cd /var/www/BookStack && composer install
7+
COPY .env /var/www/BookStack/.env
8+
RUN chown -R www-data:www-data /var/www/BookStack

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
web:
2+
build: .

0 commit comments

Comments
 (0)