-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Reconfigure ews.cfg
Marco Ochse edited this page Apr 23, 2024
·
3 revisions
docker exec -it ewsposter ash
cd /opt/ewsposter/
cp ews.cfg /data/ews/conf/
exit
systemctl stop tpot
vi $HOME/tpotce/docker-compose.yml
# Ewsposter service
ewsposter:
container_name: ewsposter
restart: always
depends_on:
tpotinit:
condition: service_healthy
networks:
- ewsposter_local
environment:
- EWS_HPFEEDS_ENABLE=false
- 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:
- ${TPOT_DATA_PATH}:/data
- ${TPOT_DATA_PATH}/ews/conf/ews.ip:/opt/ewsposter/ews.ip
- ${TPOT_DATA_PATH}/ews/conf/ews.cfg:/opt/ewsposter/ews.cfg
[...]
vi $HOME/tpotce/data/ews/conf/ews.cfg
chmod 770 $HOME/tpotce/data/ews/conf/ews.cfg
chown tpot:tpot $HOME/tpotce/data/ews/conf/ews.cfg
systemctl start tpot