-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
64 lines (63 loc) · 1.86 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '3.7'
services:
db:
container_name: passbolt-demo-db
image: mariadb:10.7
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_DATABASE=passbolt
- MYSQL_USER=passbolt
- MYSQL_PASSWORD=P4ssb0lt
volumes:
- ./passbolt-demo/passbolt-demo.sql.gz:/docker-entrypoint-initdb.d/passbolt-demo.sql.gz
- ReasheNu3xukitohEt9oojaeMahgheipheegairieH6quoh2giezie4na7tipiepoo5veimie9oongah:/var/lib/mysql
passbolt:
container_name: passbolt-demo-passbolt
image: passbolt/passbolt:latest
tty: true
depends_on:
- db
environment:
- APP_FULL_BASE_URL=http://localhost:12380
- DATASOURCES_DEFAULT_HOST=db
- DATASOURCES_DEFAULT_USERNAME=passbolt
- DATASOURCES_DEFAULT_PASSWORD=P4ssb0lt
- DATASOURCES_DEFAULT_DATABASE=passbolt
- DATASOURCES_QUOTE_IDENTIFIER=true
- PASSBOLT_REGISTRATION_PUBLIC=false
- EMAIL_TRANSPORT_DEFAULT_HOST=mail
- EMAIL_TRANSPORT_DEFAULT_PORT=1025
command:
[
"/usr/bin/wait-for.sh",
"-t",
"0",
"db:3306",
"--",
"/docker-entrypoint.sh"
]
ports:
- 12380:80
mail:
container_name: passbolt-demo-mail
image: anatomicjc/mailhog
ports:
- 12325:8025
banner:
container_name: passbolt-demo-banner
image: anatomicjc/alpine
volumes:
- ./passbolt-demo/banner:/banner:ro
command: cat /banner
ansible:
container_name: passbolt-demo-ansible
image: anatomicjc/ansible-docker:passbolt
command: bash
volumes:
- ./ansible.cfg:/home/ansible/ansible.cfg:ro
- ./inventory:/home/ansible/inventory:ro
- ./playbooks:/home/ansible/playbooks:ro
- ./pgp-keys:/home/ansible/pgp-keys:ro
- ./vault_pass:/home/ansible/vault_pass:ro
volumes:
ReasheNu3xukitohEt9oojaeMahgheipheegairieH6quoh2giezie4na7tipiepoo5veimie9oongah: