zimbra-alarm/docker-compose.yml

24 lines
716 B
YAML

version: '3'
services:
zimbra-alarm:
# $IMAGE_PATH и $RELEASE_VERSION определены в .gitlab-ci.yml
image: $IMAGE_PATH/zimbra-alarm:$RELEASE_VERSION
environment:
- ELASTICSEARCH_URL=https://${ELASTIC_USER}:${ELASTIC_PASSWORD}@${ELASTIC_HOST}:9200
- PGHOST=${PGHOST:-inf-db01.corp.samsonopt.ru}
- PGDATABASE=${PGDATABASE:-mail_alarm}
- PGUSER=${PGUSER:-mail_alarm}
- PGPASSWORD=${PGPASSWORD}
- REQUEST_TIME_RANGE=${REQUEST_TIME_RANGE:-4}
- REQUEST_ROWS=${REQUEST_ROWS:-10000}
- TZ=Europe/Moscow
restart: always
build:
context: .
logging:
# driver: "syslog"
options:
max-size: "10m"
max-file: "5"