File tree Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ APP_DEBUG=false
44APP_KEY = SomeRandomString
55
66# Database details
7- DB_HOST = localhost
8- DB_DATABASE = database_database
9- DB_USERNAME = database_username
10- DB_PASSWORD = database_user_password
7+ DB_HOST = 192.168.99.100
8+ DB_DATABASE = bookstack
9+ DB_USERNAME = bookstack
10+ DB_PASSWORD = admin
1111
1212# Cache and session
1313CACHE_DRIVER = file
Original file line number Diff line number Diff line change @@ -6,3 +6,5 @@ RUN cd /var/www/ && git clone https://github.com/ssddanbrown/BookStack.git --bra
66RUN cd /var/www/BookStack && composer install
77COPY .env /var/www/BookStack/.env
88RUN chown -R www-data:www-data /var/www/BookStack
9+ COPY bookstack.conf /etc/apache2/sites-enabled/bookstack.conf
10+ RUN a2enmod rewrite
Original file line number Diff line number Diff line change 1+ <VirtualHost *:80>
2+ ServerName bookstack.dev
3+ DocumentRoot "/var/www/BookStack/public/"
4+
5+ <Directory "/var/www/BookStack/">
6+ Options FollowSymLinks MultiViews
7+ AllowOverride All
8+ Require all granted
9+ </Directory>
10+ </VirtualHost>
Original file line number Diff line number Diff line change 11web :
22 build : .
3+ ports :
4+ - 8080:80
5+ links :
6+ - mysql
7+ mysql :
8+ image : mysql
9+ environment :
10+ - MYSQL_DATABASE=bookstack
11+ - MYSQL_ROOT_PASSWORD=root
12+ - MYSQL_USER=bookstack
13+ - MYSQL_PASSWORD=admin
14+ ports :
15+ - 3306:3306
You can’t perform that action at this time.
0 commit comments