34 lines
680 B
YAML
34 lines
680 B
YAML
version: '3.4'
|
|
services:
|
|
db:
|
|
image: mariadb:latest
|
|
env_file:
|
|
- env/mysql.env
|
|
volumes:
|
|
- database_volume:/var/lib/mysql
|
|
ports:
|
|
- 3306
|
|
|
|
passbolt:
|
|
image: passbolt/passbolt:2.0.4-debian
|
|
tty: true
|
|
depends_on:
|
|
- db
|
|
env_file:
|
|
- env/passbolt.env
|
|
volumes:
|
|
- gpg_volume:/var/www/passbolt/config/gpg
|
|
- images_volume:/var/www/passbolt/webroot/img/public
|
|
- ./scripts/wait-for.sh:/usr/bin/wait-for.sh
|
|
tmpfs:
|
|
- /run
|
|
command: ["/usr/bin/wait-for.sh", "db:3306", "--", "/docker-entrypoint.sh"]
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
|
|
volumes:
|
|
database_volume:
|
|
gpg_volume:
|
|
images_volume:
|