Merge pull request #64 from ChristianLempa/passbolt

Passbolt
This commit is contained in:
Christian Lempa
2022-12-02 09:49:11 +01:00
committed by GitHub
6 changed files with 57 additions and 11 deletions

2
README.md Executable file → Normal file
View File

@@ -8,7 +8,7 @@ This Repository **Boilerplates** is my personal template collection. Here you'll
> :warning: Be aware, products can change over time. I do my best to keep up with the latest changes and releases, but please understand that this wont always be the case. > :warning: Be aware, products can change over time. I do my best to keep up with the latest changes and releases, but please understand that this wont always be the case.
I created them as free resources to be used in your specific use cases. If you're searching for detailed, in-depth tutorials on some tools or technologies, check out my YouTube Channel: [Christian Lempa](https://www.youtube.com/@christianlempa). I created them as free resources to be used in your specific use cases. If you're searching for detailed, in-depth tutorials on some tools or technologies, check out my YouTube Channel: [Christian Lempa](https://www.youtube.com/channel/UCZNhwA1B5YqiY1nLzmM0ZRg).
## Contribution ## Contribution

View File

@@ -0,0 +1,42 @@
version: '3.9'
volumes:
passbolt-db:
passbolt-data-gpg:
passbolt-data-jwt:
services:
passbolt-db:
container_name: passbolt-db
image: mariadb:10.3
restart: unless-stopped
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
passbolt:
container_name: passbolt-app
image: passbolt/passbolt:latest-ce
restart: unless-stopped
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", "db:3306", "--", "/docker-entrypoint.sh"]

View File

@@ -0,0 +1,12 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: your-certificate
namespace: your-namespace
spec:
secretName: your-secret
issuerRef:
name: ssl-issuer
kind: ClusterIssuer
dnsNames:
- your-hostname

View File

@@ -2,9 +2,6 @@ apiVersion: cert-manager.io/v1
kind: ClusterIssuer kind: ClusterIssuer
metadata: metadata:
name: acme-issuer name: acme-issuer
# (Optional) Metadata
# ---
# namespace: your-namespace
spec: spec:
acme: acme:
# Configure your email here... # Configure your email here...
@@ -42,9 +39,8 @@ spec:
# (Optional) Add DNS selectors # (Optional) Add DNS selectors
# --- # ---
# selector: # selector:
# dnsNames: # dnsZones:
# - 'your-domain' # - 'your-domain'
# - '*.your-domain'
# HTTP Challenge: # HTTP Challenge:
# - http01: # - http01:

View File

@@ -2,8 +2,5 @@ apiVersion: cert-manager.io/v1
kind: ClusterIssuer kind: ClusterIssuer
metadata: metadata:
name: selfsigned-issuer name: selfsigned-issuer
# (Optional) Metadata
# ---
# namespace: your-namespace
spec: spec:
selfSigned: {} selfSigned: {}

View File

@@ -42,9 +42,8 @@ spec:
# (Optional) Add DNS selectors # (Optional) Add DNS selectors
# --- # ---
# selector: # selector:
# dnsNames: # dnsZones:
# - 'your-domain' # - 'your-domain'
# - '*.your-domain'
# HTTP Challenge: # HTTP Challenge:
# - http01: # - http01: