mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_ws.Dockerfile: rely on default access list path,add example hash
This commit is contained in:
parent
ea046dd5fe
commit
22e3a77863
1 changed files with 2 additions and 3 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
# - without TLS
|
# - without TLS
|
||||||
# - with http health checks enabled
|
# - with http health checks enabled
|
||||||
# - only allowing announces for hashes in access list, e.g., contained
|
# - only allowing announces for hashes in access list, e.g., contained
|
||||||
# in ACCESS_LIST_CONTENTS env var. By default, this file is empty.
|
# in ACCESS_LIST_CONTENTS env var
|
||||||
#
|
#
|
||||||
# Run from root directory of aquatic repository with:
|
# Run from root directory of aquatic repository with:
|
||||||
# $ docker build -t aquatic-ws -f docker/aquatic_ws.Dockerfile .
|
# $ docker build -t aquatic-ws -f docker/aquatic_ws.Dockerfile .
|
||||||
|
|
@ -32,9 +32,8 @@ ENV CONFIG_FILE_CONTENTS "\
|
||||||
enable_http_health_checks = true\n\
|
enable_http_health_checks = true\n\
|
||||||
[access_list]\n\
|
[access_list]\n\
|
||||||
mode = 'allow'\n\
|
mode = 'allow'\n\
|
||||||
path = './access-list.txt'\n\
|
|
||||||
"
|
"
|
||||||
ENV ACCESS_LIST_CONTENTS ""
|
ENV ACCESS_LIST_CONTENTS "0f0f0f0f0f1f1f1f1f1f2f2f2f2f2f3f3f3f3f3f"
|
||||||
|
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue