Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca8deca

Browse filesBrowse files
committed
fixes
1 parent 2e97951 commit ca8deca
Copy full SHA for ca8deca

File tree

Expand file treeCollapse file tree

5 files changed

+24
-52
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+24
-52
lines changed

‎.env.example

Copy file name to clipboard
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
DB_ROOT_PASSWORD=
2+
DB_PASSWORD=
3+
4+
MAIL_HOST=
5+
MAIL_USERNAME=
6+
MAIL_PASSWORD=
7+
MAIL_FROM=
8+
MAIL_FROM_NAME=
9+
10+
APP_URL=
11+
12+
VOLUMES_ROOT_PATH=/opt/docs
13+
RESTART_MODE=unless-stopped

‎Dockerfile

Copy file name to clipboardExpand all lines: Dockerfile
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM alpine:3 as bookstack
2-
ENV BOOKSTACK_VERSION=22.07.2
2+
ENV BOOKSTACK_VERSION=22.07.3
33
RUN apk add --no-cache curl tar
44
RUN set -x; \
55
curl -SL -o bookstack.tar.gz https://github.com/BookStackApp/BookStack/archive/v${BOOKSTACK_VERSION}.tar.gz \
@@ -56,7 +56,7 @@ COPY bookstack.conf /etc/apache2/sites-available/000-default.conf
5656

5757
COPY --from=bookstack --chown=33:33 /bookstack/ /var/www/bookstack/
5858

59-
ARG COMPOSER_VERSION=2.1.12
59+
ARG COMPOSER_VERSION=2.2.18
6060
RUN set -x; \
6161
cd /var/www/bookstack \
6262
&& curl -sS https://getcomposer.org/installer | php -- --version=$COMPOSER_VERSION \

‎Makefile

Copy file name to clipboardExpand all lines: Makefile
-37Lines changed: 0 additions & 37 deletions
This file was deleted.

‎VERSION

Copy file name to clipboardExpand all lines: VERSION
-1Lines changed: 0 additions & 1 deletion
This file was deleted.

‎docker-compose.yml

Copy file name to clipboardExpand all lines: docker-compose.yml
+9-12Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,28 @@ version: "3"
22
services:
33
database:
44
image: mariadb:10.5
5+
restart: ${RESTART_MODE}
56
environment:
6-
- MYSQL_ROOT_PASSWORD=secret
7+
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD}
78
- MYSQL_DATABASE=bookstack
89
- MYSQL_USER=bookstack
9-
- MYSQL_PASSWORD=secret
10+
- MYSQL_PASSWORD=${DB_PASSWORD}
1011
volumes:
11-
- database-data:/var/lib/mysql
12+
- ${VOLUMES_ROOT_PATH}/database-data:/var/lib/mysql
1213

1314
bookstack:
1415
build: ./
16+
restart: ${RESTART_MODE}
1517
depends_on:
1618
- database
1719
environment:
1820
- DB_HOST=database:3306
1921
- DB_DATABASE=bookstack
2022
- DB_USERNAME=bookstack
21-
- DB_PASSWORD=secret
22-
- APP_URL=http://localhost:8080
23+
- DB_PASSWORD=${DB_PASSWORD}
24+
- APP_URL=${APP_URL}
2325
volumes:
24-
- uploads:/var/www/bookstack/public/uploads
25-
- storage-uploads:/var/www/bookstack/storage/uploads
26+
- ${VOLUMES_ROOT_PATH}/uploads:/var/www/bookstack/public/uploads
27+
- ${VOLUMES_ROOT_PATH}/storage-uploads:/var/www/bookstack/storage/uploads
2628
ports:
2729
- "8080:8080"
28-
29-
volumes:
30-
database-data:
31-
uploads:
32-
storage-uploads:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.