mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 08:13:18 +01:00
boilerplates
This commit is contained in:
parent
21e1b8e26b
commit
3ed05d5935
@ -1,4 +1,10 @@
|
|||||||
version: '3.9'
|
version: '3.9'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
passbolt-db:
|
||||||
|
passbolt-gpg:
|
||||||
|
passbolt-jwt:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
image: mariadb:10.3
|
image: mariadb:10.3
|
||||||
@ -9,7 +15,7 @@ services:
|
|||||||
MYSQL_USER: $MYSQL_USER
|
MYSQL_USER: $MYSQL_USER
|
||||||
MYSQL_PASSWORD: $MYSQL_PASSWORD
|
MYSQL_PASSWORD: $MYSQL_PASSWORD
|
||||||
volumes:
|
volumes:
|
||||||
- database_volume:/var/lib/mysql
|
- passbolt-db:/var/lib/mysql
|
||||||
|
|
||||||
passbolt:
|
passbolt:
|
||||||
image: passbolt/passbolt:latest-ce
|
image: passbolt/passbolt:latest-ce
|
||||||
@ -34,17 +40,12 @@ services:
|
|||||||
# EMAIL_TRANSPORT_DEFAULT_PASSWORD: $EMAIL_TRANSPORT_DEFAULT_PASSWORD
|
# EMAIL_TRANSPORT_DEFAULT_PASSWORD: $EMAIL_TRANSPORT_DEFAULT_PASSWORD
|
||||||
# EMAIL_TRANSPORT_DEFAULT_TLS: true
|
# EMAIL_TRANSPORT_DEFAULT_TLS: true
|
||||||
volumes:
|
volumes:
|
||||||
- gpg_volume:/etc/passbolt/gpg
|
- passbolt-gpg:/etc/passbolt/gpg
|
||||||
- jwt_volume:/etc/passbolt/jwt
|
- passbolt-jwt:/etc/passbolt/jwt
|
||||||
command: ["/usr/bin/wait-for.sh", "-t", "0", "db:3306", "--", "/docker-entrypoint.sh"]
|
command: ["/usr/bin/wait-for.sh", "-t", "0", "db:3306", "--", "/docker-entrypoint.sh"]
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
# Alternatively for non-root images:
|
# Alternatively for non-root images:
|
||||||
# - 80:8080
|
# - 80:8080
|
||||||
# - 443:4433
|
# - 443:4433
|
||||||
|
|
||||||
volumes:
|
|
||||||
database_volume:
|
|
||||||
gpg_volume:
|
|
||||||
jwt_volume:
|
|
Loading…
Reference in New Issue
Block a user