-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade nucliadb-admin-assets to latest before running NucliaDB Admin…
… tests
- Loading branch information
Showing
2 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM nuclia/nucliadb:latest | ||
|
||
WORKDIR /usr/src/app | ||
|
||
RUN pip install --upgrade nucliadb-admin-assets | ||
|
||
ENV NUA_ZONE=europe-1 | ||
ENV NUA_API_KEY= | ||
ENV NUCLIA_PUBLIC_URL=https://{zone}.nuclia.cloud | ||
ENV PYTHONUNBUFFERED=1 | ||
ENV DRIVER=LOCAL | ||
ENV HTTP_PORT=8080 | ||
ENV INGEST_GRPC_PORT=8060 | ||
ENV TRAIN_GRPC_PORT=8040 | ||
|
||
# HTTP | ||
EXPOSE 8080/tcp | ||
# GRPC | ||
EXPOSE 8060/tcp | ||
# GRPC - TRAIN | ||
EXPOSE 8040/tcp | ||
|
||
CMD ["nucliadb"] |