Passbolt Password Manager in Docker Container

Hello Team.

I am new to this forum. I am an ICT Admin of our organization. We have been a loyal client of LastPass, till it was hacked last December. Am tasked with deploying a new password manager for our organization. A colleague recommended Passbolt.

My aim is to deploy Passbolt via Docker Container. I followed the official guide on Passbolt Help | Docker passbolt installation

I did set the APP_FULL_BASE_URL environment variable to my Server IP address and created an admin user as per the guide. Suffice it to say, that a link was generated for the installation process via the web browser

192.168.xxx.xx /setup/install/4ea53f00-604e-4b10-a85a-88d028cfd30f/9822834f-7d5e-44ad-91b1-b28a9a03da46

However, on trying to access the link, it refused to load the installation interface, but no error was thrown back.

Kindly advise what I might be missing.

My configuration file looks like this.

sudo vim docker-compose-ce.yaml

version: '3.9'
services:
  db:
    image: mariadb:10.3
    restart: unless-stopped
    environment:
      MYSQL_RANDOM_ROOT_PASSWORD: "true"
      MYSQL_DATABASE: "passbolt"
      MYSQL_USER: "passbolt"
      MYSQL_PASSWORD: "P4ssb0lt"
    volumes:
      - database_volume:/var/lib/mysql

  passbolt:
    image: passbolt/passbolt:latest-ce
    #Alternatively you can use rootless:
    #image: passbolt/passbolt:latest-ce-non-root
    restart: unless-stopped
    depends_on:
      - db
    environment:
      APP_FULL_BASE_URL: "192.168.xxx.xx"
      DATASOURCES_DEFAULT_HOST: "db"
      DATASOURCES_DEFAULT_USERNAME: "passbolt"
      DATASOURCES_DEFAULT_PASSWORD: "P4ssb0lt"
      DATASOURCES_DEFAULT_DATABASE: "passbolt"
    volumes:
      - gpg_volume:/etc/passbolt/gpg
      - jwt_volume:/etc/passbolt/jwt
    command: ["/usr/bin/wait-for.sh", "-t", "0", "db:3306", "--", "/docker-entrypoint.sh"]
    ports:
      - 80:80
      - 443:443
    #Alternatively for non-root images:
    # - 8080:80
    # - 4433:433

volumes:
  database_volume:
  gpg_volume:
  jwt_volume:

Please advise what I might be missing. I have set the configurations to their default.

Hi @jil :wave: and welcome to passbolt community forum :handshake:

Can you try to set APP_FULL_BASE_URL with http://192.168.xxx.xx instead of 192.168.xxx.xx.

I think you need to set the http:// part.

Best,

2 Likes

@AnatomicJC

Thanks alot big man, this has worked for me . Am now okay to proceed with the other steps .

2 Likes