mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 00:03:16 +01:00
passbolt init
This commit is contained in:
parent
de7670a906
commit
dfa74b70ec
41
docker-compose/passbolt/docker-compose.yml
Normal file
41
docker-compose/passbolt/docker-compose.yml
Normal file
@ -0,0 +1,41 @@
|
||||
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: https://passbolt.local
|
||||
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:
|
||||
# - 80:8080
|
||||
# - 443:4433
|
||||
|
||||
volumes:
|
||||
database_volume:
|
||||
gpg_volume:
|
||||
jwt_volume:
|
Loading…
Reference in New Issue
Block a user