version: '3.3' volumes: pb-mariadb: pb-gpg_volume: pb-images_volume: networks: traefik_web: external: name: traefik_web services: pb-mariadb: image: mariadb:10.4.11 container_name: pb-mariadb hostname: pb-mariadb restart: always volumes: - pb-mariadb:/var/lib/mysql networks: - traefik_web environment: MYSQL_ROOT_PASSWORD: thasdfisIsRoot29837! MYSQL_PASSWORD: p@ssblt!!1NOW MYSQL_DATABASE: db_passbolt MYSQL_USER: passbolt # https://help.passbolt.com/hosting/install/ce/docker.html # once it's running you will have to manually create your first user: # as www-data user: ./cake passbolt register_user -u -f -l -r admin passbolt: image: passbolt/passbolt:2.12.0-debian container_name: pb-passbolt hostname: passbolt networks: - traefik_web restart: always tty: true tmpfs: - /run depends_on: - pb-mariadb env_file: - passbolt.env command: ["/usr/bin/wait-for.sh", "-t", "0", "pb-mariadb:3306", "--", "/docker-entrypoint.sh"] volumes: - pb-gpg_volume:/var/www/passbolt/config/gpg - pb-images_volume:/var/www/passbolt/webroot/img/public - ./license:/var/www/passbolt/config/license labels: - "traefik.enable=true" - "traefik.http.routers.passbolt.rule=Host(`passbolt.nickyeoman.com`)" - "traefik.http.routers.passbolt.entrypoints=websecure" - "traefik.http.routers.passbolt.tls=true" - "traefik.http.services.passbolt.loadbalancer.server.port=80"