diff --git a/configs/security/config.yaml b/configs/security/config.yaml index f6a3d18..e05d9ef 100644 --- a/configs/security/config.yaml +++ b/configs/security/config.yaml @@ -1,17 +1,19 @@ regions: - type: openstack - name: lab1 + name: cz-1.lab credentials: auth_url: https://OPENSTACK_IP:5000/v2.0/ username: OPENSTACK_USERNAME password: OPENSTACK_PASSWORD tenant_name: OPENSTACK_TENANT_NAME + insecure: true + endpoint_override: https://OPENSTACK_IP:9696/ plugins: - module: security.plugins.secgroup checkEveryMinutes: 1 regions: - - lab1 + - cz-1.lab elastic: hosts: diff --git a/docker-compose.yml b/docker-compose.yml index 3399405..d1a9ca7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,9 @@ services: volumes: - ${DIR}/configs/security:/etc/oss/security:ro entrypoint: - - security-checker --config-file /etc/oss/security/config.yaml + - security-checker + - --config-file + - /etc/oss/security/config.yaml networks: - oss-net restart: always @@ -55,8 +57,10 @@ services: image: seecloud/security:${TAG:-latest} volumes: - ${DIR}/configs/security:/etc/oss/security:ro + environment: + - SECURITY_CONF=/etc/oss/security/config.yaml entrypoint: - - security-api --config-file /etc/oss/security/config.yaml + - ./entrypoint-api.sh networks: - oss-net restart: always