-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c18acf
commit ddb71c7
Showing
2 changed files
with
6 additions
and
4 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 |
---|---|---|
@@ -1,10 +1,9 @@ | ||
FROM alpine:latest | ||
COPY oneget / | ||
RUN set -x; \ | ||
chmod +x /oneget; \ | ||
apk add curl | ||
chmod +x /oneget | ||
ENV ONEGET_HTTP_SERVER_PORT=8080 | ||
ENV ONEGET_ENABLE_HTTP_SERVER=true | ||
HEALTHCHECK --interval=1m --timeout=3s \ | ||
CMD curl -f http://localhost:$ONEGET_HTTP_SERVER_PORT/ || exit 1 | ||
CMD nc -vz -w 2 localhost $ONEGET_HTTP_SERVER_PORT || exit 1' | ||
ENTRYPOINT ["/oneget"] |
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 |
---|---|---|
|
@@ -227,9 +227,12 @@ docker run \ | |
--debug \ | ||
get \ | ||
--path /tmp/download \ | ||
platform:[email protected] | ||
--extract \ | ||
platform:[email protected] | ||
``` | ||
|
||
После скачивания дистрибутивов и перевода контейнера в статус `UP` дистрибутивы платформы будут доступны по URL `http://localhost:8080` | ||
|
||
## Настройка логов | ||
|
||
### Через файл настройки | ||
|