mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-25 09:44:24 +01:00
40 lines
1.4 KiB
YAML
40 lines
1.4 KiB
YAML
---
|
|
volumes:
|
|
passbolt-db:
|
|
passbolt-data-gpg:
|
|
passbolt-data-jwt:
|
|
services:
|
|
passbolt-db:
|
|
container_name: passbolt-db
|
|
image: docker.io/library/mariadb:11.3
|
|
environment:
|
|
- MYSQL_RANDOM_ROOT_PASSWORD=true
|
|
- MYSQL_DATABASE=$PASSBOLT_DB_NAME
|
|
- MYSQL_USER=$PASSBOLT_DB_USER
|
|
- MYSQL_PASSWORD=$PASSBOLT_DB_PASS
|
|
volumes:
|
|
- passbolt-db:/var/lib/mysql
|
|
restart: unless-stopped
|
|
passbolt:
|
|
container_name: passbolt-app
|
|
image: docker.io/passbolt/passbolt:4.9.1-1-ce
|
|
depends_on:
|
|
- passbolt-db
|
|
environment:
|
|
- APP_FULL_BASE_URL=https://passbolt.domain.tld
|
|
- DATASOURCES_DEFAULT_HOST=passbolt-db
|
|
- DATASOURCES_DEFAULT_USERNAME=$PASSBOLT_DB_USER
|
|
- DATASOURCES_DEFAULT_PASSWORD=$PASSBOLT_DB_PASS
|
|
- DATASOURCES_DEFAULT_DATABASE=$PASSBOLT_DB_NAME
|
|
- EMAIL_TRANSPORT_DEFAULT_HOST=your-mail-server
|
|
- EMAIL_TRANSPORT_DEFAULT_PORT=587
|
|
- EMAIL_TRANSPORT_DEFAULT_USERNAME=$EMAIL_TRANSPORT_DEFAULT_USERNAME
|
|
- EMAIL_TRANSPORT_DEFAULT_PASSWORD=$EMAIL_TRANSPORT_DEFAULT_PASSWORD
|
|
- EMAIL_TRANSPORT_DEFAULT_TLS=true
|
|
- EMAIL_DEFAULT_FROM=no-reply@domain.tld
|
|
volumes:
|
|
- passbolt-data-gpg:/etc/passbolt/gpg
|
|
- passbolt-data-jwt:/etc/passbolt/jwt
|
|
command: ["/usr/bin/wait-for.sh", "-t", "0", "passbolt-db:3306", "--", "/docker-entrypoint.sh"]
|
|
restart: unless-stopped
|