1 # This is a Docker Compose configuration
2 # intended for development purposes only
11 MYSQL_DATABASE: bookstack-dev
12 MYSQL_USER: bookstack-test
13 MYSQL_PASSWORD: bookstack-test
14 MYSQL_RANDOM_ROOT_PASSWORD: 'true'
15 command: --default-authentication-plugin=mysql_native_password
17 - ./dev/docker/init.db:/docker-entrypoint-initdb.d
22 dockerfile: ./dev/docker/Dockerfile
24 APP_URL: http://localhost:${DEV_PORT:-8080}
28 DB_DATABASE: bookstack-dev
29 DB_USERNAME: bookstack-test
30 DB_PASSWORD: bookstack-test
31 TEST_DATABASE_URL: mysql://bookstack-test:bookstack-test@db/bookstack-test
36 - ${DEV_PORT:-8080}:80
39 - ./dev/docker/php/conf.d/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
40 entrypoint: /app/dev/docker/entrypoint.app.sh
42 - "host.docker.internal:host-gateway"
49 entrypoint: /app/dev/docker/entrypoint.node.sh
51 image: mailhog/mailhog
53 - ${DEV_MAIL_PORT:-8025}:8025