forked from BookStackApp/BookStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (48 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
51 lines (48 loc) · 1.16 KB
1
# This is a Docker Compose configuration# intended for development purposes onlyversion: '3'volumes: db: {}services: db: image: mysql:8 environment: MYSQL_DATABASE: bookstack-test MYSQL_USER: bookstack-test MYSQL_PASSWORD: bookstack-test MYSQL_RANDOM_ROOT_PASSWORD: 'true' command: --default-authentication-plugin=mysql_native_password volumes: - db:/var/lib/mysql app: build: context: . dockerfile: ./dev/docker/Dockerfile environment: XDEBUG_CONFIG: "remote_host=host.docker.internal remote_enable=1" DB_CONNECTION: mysql DB_HOST: db DB_PORT: 3306 DB_DATABASE: bookstack-test DB_USERNAME: bookstack-test DB_PASSWORD: bookstack-test MAIL_DRIVER: smtp MAIL_HOST: mailhog MAIL_PORT: 1025 ports: - ${DEV_PORT:-8080}:80 volumes: - ./:/app entrypoint: /app/dev/docker/entrypoint.app.sh node: image: node:10-alpine working_dir: /app volumes: - ./:/app entrypoint: /app/dev/docker/entrypoint.node.sh mailhog: image: mailhog/mailhog ports: - ${DEV_MAIL_PORT:-8025}:8025networks: webnet: