services: fess01: image: ghcr.io/codelibs/fess:15.8.0 # build: ./playwright # use Playwright container_name: fess01 environment: - "SEARCH_ENGINE_HTTP_URL=http://search01:9200" - "FESS_DICTIONARY_PATH=${FESS_DICTIONARY_PATH:-/usr/share/opensearch/config/dictionary/}" # - "FESS_PLUGINS=fess-ds-wikipedia:15.8.0 fess-ds-git:15.8.0" ports: - "8080:8080" networks: - search_net depends_on: search01: condition: service_healthy logging: driver: "json-file" options: max-size: "10m" max-file: "5" healthcheck: test: ["CMD-SHELL", "curl -f \"http://localhost:$${FESS_PORT:-8080}$${FESS_CONTEXT_PATH%/}/api/v2/health\" || exit 1"] interval: 30s timeout: 10s retries: 3 start_period: 120s restart: unless-stopped networks: search_net: driver: bridge