File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg
22
22
23
23
COPY php.ini /usr/local/etc/php/php.ini
24
24
COPY bookstack.conf /etc/apache2/sites-enabled/bookstack.conf
25
+ COPY ports.conf /etc/apache2/ports.conf
25
26
RUN a2enmod rewrite
26
27
27
28
COPY docker-entrypoint.sh /
28
29
29
30
WORKDIR $BOOKSTACK_HOME
30
31
31
- EXPOSE 80
32
+ EXPOSE 8080
32
33
33
34
VOLUME ["$BOOKSTACK_HOME/public/uploads" ,"$BOOKSTACK_HOME/public/storage" ]
34
35
Original file line number Diff line number Diff line change 1
- <VirtualHost *:80 >
1
+ <VirtualHost *:8080 >
2
2
ServerName bookstack.dev
3
3
DocumentRoot "/var/www/bookstack/public/"
4
4
Original file line number Diff line number Diff line change
1
+ # If you just change the port or add more ports here, you will likely also
2
+ # have to change the VirtualHost statement in
3
+ # /etc/apache2/sites-enabled/000-default.conf
4
+
5
+ Listen 8080
6
+
7
+ <IfModule ssl_module>
8
+ Listen 8443
9
+ </IfModule>
10
+
11
+ <IfModule mod_gnutls.c>
12
+ Listen 8443
13
+ </IfModule>
You can’t perform that action at this time.
0 commit comments