version: '3.6'
services:
  pricechecker:
    hostname: pricechecker
    image:  ${DOCKER_REGISTRY:-dockerregistry.artix.su:2443}/artix-pricechecker:${TAG:-latest}
    restart: always
    network_mode: host
    environment:
      - TZ=${SET_TIMEZONE:-UTC}
      - LANG=${LANG:-ru_RU.UTF-8}
      - LC_ALL=${LC_ALL:-ru_RU.UTF-8}
      - LOG_LEVEL=${LOG_LEVEL:-info}
      - LOG_FILE=${LOG_FILE:-main.log}
      - SERVER_PORT=${SERVER_PORT:-8085}
      - PC_LOG_LEVEL=${PC_LOG_LEVEL:-INFO}
    volumes:
      - ./data:/usr/local/tomcat/data
      - ./logs:/usr/local/tomcat/logs
      - /var/run/docker.sock:/var/run/docker.sock