mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-10-14 12:29:15 +00:00
Updated Reconfigure ews.cfg (markdown)
parent
9dd35f0789
commit
5eea2d5c46
1 changed files with 21 additions and 11 deletions
|
@ -15,30 +15,40 @@ systemctl stop tpot
|
||||||
|
|
||||||
### 3. Adjust `tpot.yml`:
|
### 3. Adjust `tpot.yml`:
|
||||||
```
|
```
|
||||||
vi /opt/tpot/etc/tpot.yml
|
vi $HOME/tpotce/docker-compose.yml
|
||||||
|
|
||||||
[...]
|
|
||||||
# Ewsposter service
|
# Ewsposter service
|
||||||
ewsposter:
|
ewsposter:
|
||||||
container_name: ewsposter
|
container_name: ewsposter
|
||||||
restart: always
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
tpotinit:
|
||||||
|
condition: service_healthy
|
||||||
networks:
|
networks:
|
||||||
- ewsposter_local
|
- ewsposter_local
|
||||||
env_file:
|
environment:
|
||||||
- /opt/tpot/etc/compose/elk_environment
|
- EWS_HPFEEDS_ENABLE=false
|
||||||
image: "dtagdevsec/ewsposter:1710"
|
- EWS_HPFEEDS_HOST=host
|
||||||
|
- EWS_HPFEEDS_PORT=port
|
||||||
|
- EWS_HPFEEDS_CHANNELS=channels
|
||||||
|
- EWS_HPFEEDS_IDENT=user
|
||||||
|
- EWS_HPFEEDS_SECRET=secret
|
||||||
|
- EWS_HPFEEDS_TLSCERT=false
|
||||||
|
- EWS_HPFEEDS_FORMAT=json
|
||||||
|
image: ${TPOT_REPO}/ewsposter:${TPOT_VERSION}
|
||||||
|
pull_policy: ${TPOT_PULL_POLICY}
|
||||||
volumes:
|
volumes:
|
||||||
- /data:/data
|
- ${TPOT_DATA_PATH}:/data
|
||||||
- /data/ews/conf/ews.ip:/opt/ewsposter/ews.ip
|
- ${TPOT_DATA_PATH}/ews/conf/ews.ip:/opt/ewsposter/ews.ip
|
||||||
- /data/ews/conf/ews.cfg:/opt/ewsposter/ews.cfg
|
- ${TPOT_DATA_PATH}/ews/conf/ews.cfg:/opt/ewsposter/ews.cfg
|
||||||
[...]
|
[...]
|
||||||
```
|
```
|
||||||
|
|
||||||
### 4. Modify `ews.cfg` according to your own taste or as instructed and set correct permissions:
|
### 4. Modify `ews.cfg` according to your own taste or as instructed and set correct permissions:
|
||||||
```
|
```
|
||||||
vi /data/ews/conf/ews.cfg
|
vi $HOME/tpotce/data/ews/conf/ews.cfg
|
||||||
chmod 770 /data/ews/conf/ews.cfg
|
chmod 770 $HOME/tpotce/data/ews/conf/ews.cfg
|
||||||
chown tpot:tpot /data/ews/conf/ews.cfg
|
chown tpot:tpot $HOME/tpotce/data/ews/conf/ews.cfg
|
||||||
```
|
```
|
||||||
|
|
||||||
### 5. Start T-Pot service
|
### 5. Start T-Pot service
|
||||||
|
|
Loading…
Reference in a new issue