mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 16:23:25 +01:00
8a17193dd0
This makes text files compliant to POSIX which requires every line of a text file to end with a newline character [1][2]. [1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_403 [2] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
---
|
|
volumes:
|
|
passbolt-db:
|
|
passbolt-data-gpg:
|
|
passbolt-data-jwt:
|
|
services:
|
|
passbolt-db:
|
|
container_name: passbolt-db
|
|
image: mariadb:10.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: passbolt/passbolt:latest-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
|