version: '3.4' services: db: image: mariadb:10.3 env_file: - env/mysql.env volumes: - database_volume:/var/lib/mysql ports: - "127.0.0.1:3306:3306" passbolt: image: passbolt/passbolt:3.0.1-pro #Alternatively you can use rootless: #image: passbolt/passbolt:3.0.0-pro-non-root tty: true depends_on: - db env_file: - env/passbolt.env volumes: - gpg_volume:/etc/passbolt/gpg - images_volume:/usr/share/php/passbolt/webroot/img/public - ./license:/etc/passbolt/license command: ["/usr/bin/wait-for.sh", "-t", "0", "db:3306", "--", "/docker-entrypoint.sh"] ports: - 80:80 - 443:443 #Alternatively for non-root images: # - 80:8080 # - 443:4433 volumes: database_volume: gpg_volume: images_volume: