-
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.
Implement configuration aod Docker with default overlay
- Loading branch information
1 parent
5939be6
commit 3ce54b4
Showing
10 changed files
with
63 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM python:3.9-slim | ||
|
||
LABEL vendor=neon.ai \ | ||
ai.neon.name="diana-services-api" | ||
|
||
ENV OVOS_CONFIG_BASE_FOLDER neon | ||
ENV OVOS_CONFIG_FILENAME diana.yaml | ||
ENV XDG_CONFIG_HOME /config | ||
|
||
COPY docker_overlay/ / | ||
|
||
WORKDIR /app | ||
COPY . /app | ||
RUN pip install /app | ||
|
||
CMD ["python3", "/app/diana_services_api/app/__main__.py"] |
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
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
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
Empty file.
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,28 @@ | ||
log_level: INFO | ||
logs: | ||
level_overrides: | ||
error: | ||
- pika | ||
warning: | ||
- filelock | ||
info: | ||
- openai | ||
debug: [] | ||
MQ: | ||
server: neon-rabbitmq | ||
port: 5672 | ||
users: | ||
mq_handler: | ||
user: neon_api_utils | ||
password: Klatchat2021 | ||
diana_services_api: | ||
mq_default_timeout: 10 | ||
access_token_ttl: 86400 # 1 day | ||
refresh_token_ttl: 604800 # 1 week | ||
access_token_secret: a800445648142061fc238d1f84e96200da87f4f9f784108ac90db8b4391b117b | ||
refresh_token_secret: 833d369ac73d883123743a44b4a7fe21203cffc956f4c8a99be6e71aafa8e1aa | ||
server_host: "0.0.0.0" | ||
server_port: 8080 | ||
fastapi_title: "Diana Services API" | ||
fastapi_summary: "HTTP component of the Device Independent API for Neon Applications (DIANA)" | ||
disable_auth: True |
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