Skip to content

Commit

Permalink
Dev compose: Set image versions, removed unsupported mysql flag
Browse files Browse the repository at this point in the history
Quick local test performed, ran a working instance.
For BookStackApp#5124
  • Loading branch information
ssddanbrown committed Jul 17, 2024
1 parent 47ac0d5 commit e145f21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dev/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.1-apache
FROM php:8.3-apache

ENV APACHE_DOCUMENT_ROOT /app/public
WORKDIR /app
Expand Down
5 changes: 2 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ volumes:

services:
db:
image: mysql:8
image: mysql:8.4
environment:
MYSQL_DATABASE: bookstack-dev
MYSQL_USER: bookstack-test
MYSQL_PASSWORD: bookstack-test
MYSQL_RANDOM_ROOT_PASSWORD: 'true'
command: --default-authentication-plugin=mysql_native_password
volumes:
- ./dev/docker/init.db:/docker-entrypoint-initdb.d
- db:/var/lib/mysql
Expand Down Expand Up @@ -41,7 +40,7 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"
node:
image: node:alpine
image: node:22-alpine
working_dir: /app
user: node
volumes:
Expand Down

0 comments on commit e145f21

Please sign in to comment.