Dev compose: Set image versions, removed unsupported mysql flag

Quick local test performed, ran a working instance.
For #5124
This commit is contained in:
Dan Brown 2024-07-17 11:13:39 +01:00
parent 47ac0d5c3e
commit e145f21512
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM php:8.1-apache FROM php:8.3-apache
ENV APACHE_DOCUMENT_ROOT /app/public ENV APACHE_DOCUMENT_ROOT /app/public
WORKDIR /app WORKDIR /app

View File

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