mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Minio Module - add access key variables
This commit is contained in:
@@ -13,6 +13,9 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
{% set access_key = salt['pillar.get']('master:access_key', '') %}
|
||||||
|
{% set access_secret = salt['pillar.get']('master:access_secret', '') %}
|
||||||
|
|
||||||
# Minio Setup
|
# Minio Setup
|
||||||
minioconfdir:
|
minioconfdir:
|
||||||
file.directory:
|
file.directory:
|
||||||
@@ -46,6 +49,9 @@ minio:
|
|||||||
- user: socore
|
- user: socore
|
||||||
- port_bindings:
|
- port_bindings:
|
||||||
- 0.0.0.0:9000:9000
|
- 0.0.0.0:9000:9000
|
||||||
|
- environment:
|
||||||
|
- MINIO_ACCESS_KEY: {{ access_key }}
|
||||||
|
- MINIO_SECRET_KEY: {{ access_secret }}
|
||||||
- binds:
|
- binds:
|
||||||
- /nsm/minio/data:/data:rw
|
- /nsm/minio/data:/data:rw
|
||||||
- /opt/so/conf/minio/etc:/root/.minio:rw
|
- /opt/so/conf/minio/etc:/root/.minio:rw
|
||||||
|
|||||||
Reference in New Issue
Block a user