1 # This is a Docker Compose configuration
2 # intended for development purposes only
13 MYSQL_DATABASE: bookstack-dev
14 MYSQL_USER: bookstack-test
15 MYSQL_PASSWORD: bookstack-test
16 MYSQL_RANDOM_ROOT_PASSWORD: 'true'
17 command: --default-authentication-plugin=mysql_native_password
19 - ./dev/docker/init.db:/docker-entrypoint-initdb.d
24 dockerfile: ./dev/docker/Dockerfile
26 APP_URL: http://localhost:${DEV_PORT:-8080}
30 DB_DATABASE: bookstack-dev
31 DB_USERNAME: bookstack-test
32 DB_PASSWORD: bookstack-test
33 TEST_DATABASE_URL: mysql://bookstack-test:bookstack-test@db/bookstack-test
38 - ${DEV_PORT:-8080}:80
41 entrypoint: /app/dev/docker/entrypoint.app.sh
48 entrypoint: /app/dev/docker/entrypoint.node.sh
50 image: mailhog/mailhog
52 - ${DEV_MAIL_PORT:-8025}:8025