Skip to content

Commit

Permalink
Fix admin service in dev docker compose (#1972)
Browse files Browse the repository at this point in the history
* add missing libapi in dev

* increase auth timeout in dev

* add missing dep libsndfile in dev
  • Loading branch information
lhoestq authored Oct 19, 2023
1 parent 9443125 commit 3070258
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion services/admin/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ ENV PYTHONFAULTHANDLER=1 \

# System deps:
RUN apt-get update \
&& apt-get install -y build-essential make \
&& apt-get install -y build-essential unzip wget \
libicu-dev ffmpeg libavcodec-extra libsndfile1 llvm pkg-config \
&& rm -rf /var/lib/apt/lists/*
RUN pip install -U pip
RUN pip install "poetry==$POETRY_VERSION"
Expand Down
1 change: 1 addition & 0 deletions tools/docker-compose-dev-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ services:
service: common
# volumes to local source directory for development
volumes:
- ../libs/libapi/src:/src/libs/libapi/src
- ../services/admin/src:/src/services/admin/src
api:
extends:
Expand Down
2 changes: 1 addition & 1 deletion tools/docker-compose-dev-datasets-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
ADMIN_HF_ORGANIZATION: ${ADMIN_HF_ORGANIZATION-__DUMMY_DATASETS_SERVER_ADMINS_ORG__}
ADMIN_CACHE_REPORTS_NUM_RESULTS: ${ADMIN_CACHE_REPORTS_NUM_RESULTS-100}
ADMIN_CACHE_REPORTS_WITH_CONTENT_NUM_RESULTS: ${ADMIN_CACHE_REPORTS_WITH_CONTENT_NUM_RESULTS-100}
ADMIN_HF_TIMEOUT_SECONDS: ${ADMIN_HF_TIMEOUT_SECONDS-0.2}
ADMIN_HF_TIMEOUT_SECONDS: ${ADMIN_HF_TIMEOUT_SECONDS-10.0}
ADMIN_HF_WHOAMI_PATH: ${ADMIN_HF_WHOAMI_PATH-/api/whoami-v2}
ADMIN_MAX_AGE: ${ADMIN_MAX_AGE-10}
# prometheus
Expand Down

0 comments on commit 3070258

Please sign in to comment.