Skip to content

Commit e145f21

Browse files
committed
Dev compose: Set image versions, removed unsupported mysql flag
Quick local test performed, ran a working instance. For BookStackApp#5124
1 parent 47ac0d5 commit e145f21

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

dev/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.1-apache
1+
FROM php:8.3-apache
22

33
ENV APACHE_DOCUMENT_ROOT /app/public
44
WORKDIR /app

docker-compose.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ volumes:
66

77
services:
88
db:
9-
image: mysql:8
9+
image: mysql:8.4
1010
environment:
1111
MYSQL_DATABASE: bookstack-dev
1212
MYSQL_USER: bookstack-test
1313
MYSQL_PASSWORD: bookstack-test
1414
MYSQL_RANDOM_ROOT_PASSWORD: 'true'
15-
command: --default-authentication-plugin=mysql_native_password
1615
volumes:
1716
- ./dev/docker/init.db:/docker-entrypoint-initdb.d
1817
- db:/var/lib/mysql
@@ -41,7 +40,7 @@ services:
4140
extra_hosts:
4241
- "host.docker.internal:host-gateway"
4342
node:
44-
image: node:alpine
43+
image: node:22-alpine
4544
working_dir: /app
4645
user: node
4746
volumes:

0 commit comments

Comments
 (0)