Skip to content

Commit 8fa22ba

Browse files
authored
[docker] Ability to add trusted TLS Certificate to our config
1 parent 00ccbee commit 8fa22ba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ services:
7777
retries: 50
7878
openbas:
7979
image: openbas/platform:1.18.1
80+
# If you need (see the doc), uncomment to use a bind mount and set the attribute $OPENBAS_EXTRA_TRUSTED_CERTS_DIR (host folder) in your .env
81+
#volumes:
82+
# - $OPENBAS_EXTRA_TRUSTED_CERTS_DIR:/opt/openbas/additional_certs
8083
environment:
8184
# OpenBAS General Configuration
8285
- OPENBAS_BASE-URL=${OPENBAS_BASE_URL}
@@ -85,6 +88,7 @@ services:
8588
- OPENBAS_ADMIN_PASSWORD=${OPENBAS_ADMIN_PASSWORD}
8689
- OPENBAS_ADMIN_TOKEN=${OPENBAS_ADMIN_TOKEN}
8790
- OPENBAS_HEALTHCHECK_KEY=${OPENBAS_HEALTHCHECK_KEY:-ChangeMe}
91+
- OPENBAS_EXTRA-TRUSTED-CERTS-DIR=/opt/openbas/additional_certs
8892
# POSTGRES
8993
- SPRING_DATASOURCE_URL=jdbc:postgresql://pgsql:5432/openbas
9094
- SPRING_DATASOURCE_USERNAME=${POSTGRES_USER}

0 commit comments

Comments
 (0)