How to connect with own mysql server?

My docker-compose.yml

version: '2'
services:

  passbolt:
    image: passbolt/passbolt:2.1.0-debian
    tty: true
    environment:
      - APP_FULL_BASE_URL=http:/127.0.0.1
      - DATASOURCES_DEFAULT_HOST=localhost
      - DATASOURCES_DEFAULT_USERNAME=passbolt
      - DATASOURCES_DEFAULT_PASSWORD=********
      - DATASOURCES_DEFAULT_DATABASE=passbolt
      - DATASOURCES_DEFAULT_PORT=3306

      - PASSBOLT_REGISTRATION_PUBLIC=true
    volumes:
      - gpg_volume:/var/www/passbolt/config/gpg
      - images_volume:/var/www/passbolt/webroot/img/public
      - ./scripts/wait-for.sh:/usr/bin/wait-for.sh
    tmpfs:
      - /run
    ports:
      - 8020:80

volumes:
  gpg_volume:
  images_volume:

Can you describe the problem a little bit more?

  • What are you trying to do
  • What did you try to make it work
  • What was the result (error messages, server logs, etc.)

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.