mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_ws.Dockerfile: enable access control in "allow" mode
This commit is contained in:
parent
9b2c5b97df
commit
66e005f37a
1 changed files with 6 additions and 2 deletions
|
|
@ -8,10 +8,11 @@
|
||||||
# If no changes are made to configuration, aquatic_ws is run:
|
# If no changes are made to configuration, aquatic_ws is run:
|
||||||
# - on port 3000
|
# - on port 3000
|
||||||
# - without TLS
|
# - without TLS
|
||||||
# - with no info hash access control
|
|
||||||
# - with http health checks enabled
|
# - with http health checks enabled
|
||||||
|
# - only allowing announces for hashes in access list, e.g., contained
|
||||||
|
# in ACCESS_LIST_CONTENTS env var. By default, this file is empty.
|
||||||
#
|
#
|
||||||
# Run from root directory of 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 .
|
||||||
# $ docker run -it --ulimit memlock=65536:65536 -p 0.0.0.0:3000:3000 --name aquatic-ws aquatic-ws
|
# $ docker run -it --ulimit memlock=65536:65536 -p 0.0.0.0:3000:3000 --name aquatic-ws aquatic-ws
|
||||||
|
|
||||||
|
|
@ -29,6 +30,9 @@ ENV CONFIG_FILE_CONTENTS "\
|
||||||
log_level = 'info'\n\
|
log_level = 'info'\n\
|
||||||
[network]\n\
|
[network]\n\
|
||||||
enable_http_health_checks = true\n\
|
enable_http_health_checks = true\n\
|
||||||
|
[access_list]\n\
|
||||||
|
mode = 'allow'\n\
|
||||||
|
path = './access-list.txt'\n\
|
||||||
"
|
"
|
||||||
ENV ACCESS_LIST_CONTENTS ""
|
ENV ACCESS_LIST_CONTENTS ""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue