mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-22 01:57:57 +08:00
Dev compose: Set image versions, removed unsupported mysql flag
Quick local test performed, ran a working instance. For #5124
This commit is contained in:
parent
47ac0d5c3e
commit
e145f21512
|
@ -1,4 +1,4 @@
|
|||
FROM php:8.1-apache
|
||||
FROM php:8.3-apache
|
||||
|
||||
ENV APACHE_DOCUMENT_ROOT /app/public
|
||||
WORKDIR /app
|
||||
|
|
|
@ -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
|
||||
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user