]> BookStack Code Mirror - bookstack/blobdiff - docker-compose.yml
Fix issue BookStackApp#5542 Sorting by name
[bookstack] / docker-compose.yml
index 7920258944694e6b0d1af757ba9fd3bef5b45e57..f4c3a64c66459ecd531efdfc7b1729c89308e3b8 100644 (file)
@@ -1,20 +1,17 @@
 # This is a Docker Compose configuration
 # intended for development purposes only
 
-version: '3'
-
 volumes:
   db: {}
 
 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
@@ -38,9 +35,12 @@ services:
       - ${DEV_PORT:-8080}:80
     volumes:
       - ./:/app
+      - ./dev/docker/php/conf.d/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
     entrypoint: /app/dev/docker/entrypoint.app.sh
+    extra_hosts:
+    - "host.docker.internal:host-gateway"
   node:
-    image: node:alpine
+    image: node:22-alpine
     working_dir: /app
     user: node
     volumes: