2
README.md
Executable file → Normal file
2
README.md
Executable file → Normal 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 won’t 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 won’t 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
|
||||||
|
|
||||||
|
|||||||
42
docker-compose/passbolt/docker-compose.yml
Normal file
42
docker-compose/passbolt/docker-compose.yml
Normal 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"]
|
||||||
12
kubernetes/certmanager/templates/certificate.yaml
Normal file
12
kubernetes/certmanager/templates/certificate.yaml
Normal 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
|
||||||
@@ -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:
|
||||||
|
|||||||
@@ -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: {}
|
||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user