mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-22 07:20:07 +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
|
ENV APACHE_DOCUMENT_ROOT /app/public
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user