Skip to content

Commit

Permalink
bugfix for docker compose yaml format
Browse files Browse the repository at this point in the history
  • Loading branch information
JarryShaw committed Jan 20, 2024
1 parent 56c536c commit 31682af
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 38 deletions.
26 changes: 14 additions & 12 deletions demo/deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,13 @@ services:
# time to wait for selenium
SE_WAIT: 5
# extract link pattern
LINK_WHITE_LIST: '[
".*?\\.onion",
".*?\\.i2p", "127\\.0\\.0\\.1:7657", "localhost:7657", "127\\.0\\.0\\.1:7658", "localhost:7658",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]'
LINK_WHITE_LIST: |
[
".*?\\.onion",
".*?\\.i2p", "127\\.0\\.0\\.1:7657", "localhost:7657", "127\\.0\\.0\\.1:7658", "localhost:7658",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]
# link black list
LINK_BLACK_LIST: '[ "(.*\\.)?facebookcorewwwi\\.onion", "(.*\\.)?nytimes3xbfgragh\\.onion" ]'
# link fallback flag
Expand Down Expand Up @@ -226,12 +227,13 @@ services:
# time to wait for selenium
SE_WAIT: 5
# extract link pattern
LINK_WHITE_LIST: '[
".*?\\.onion",
".*?\\.i2p", "127\\.0\\.0\\.1:7657", "localhost:7657", "127\\.0\\.0\\.1:7658", "localhost:7658",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]'
LINK_WHITE_LIST: |
[
".*?\\.onion",
".*?\\.i2p", "127\\.0\\.0\\.1:7657", "localhost:7657", "127\\.0\\.0\\.1:7658", "localhost:7658",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]
# link black list
LINK_BLACK_LIST: '[ "(.*\\.)?facebookcorewwwi\\.onion", "(.*\\.)?nytimes3xbfgragh\\.onion" ]'
# link fallback flag
Expand Down
30 changes: 16 additions & 14 deletions docker-compose.debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,14 @@ services:
# time to wait for selenium
SE_WAIT: 60
# extract link pattern
LINK_WHITE_LIST: '[
"(?!(.*\\.)?facebookcorewwwi).*\\.onion",
"(?!(.*\\.)?nytimes3xbfgragh).*\\.onion",
".*?\\.i2p",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]'
LINK_WHITE_LIST: |
[
"(?!(.*\\.)?facebookcorewwwi).*\\.onion",
"(?!(.*\\.)?nytimes3xbfgragh).*\\.onion",
".*?\\.i2p",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]
# link black list
LINK_BLACK_LIST: '[ "(.*\\.)?facebookcorewwwi\\.onion", "(.*\\.)?nytimes3xbfgragh\\.onion" ]'
# link fallback flag
Expand Down Expand Up @@ -252,13 +253,14 @@ services:
# time to wait for selenium
SE_WAIT: 60
# extract link pattern
LINK_WHITE_LIST: '[
"(?!(.*\\.)?facebookcorewwwi).*\\.onion",
"(?!(.*\\.)?nytimes3xbfgragh).*\\.onion",
".*?\\.i2p",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]'
LINK_WHITE_LIST: |
[
"(?!(.*\\.)?facebookcorewwwi).*\\.onion",
"(?!(.*\\.)?nytimes3xbfgragh).*\\.onion",
".*?\\.i2p",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]
# link black list
LINK_BLACK_LIST: '[ "(.*\\.)?facebookcorewwwi\\.onion", "(.*\\.)?nytimes3xbfgragh\\.onion" ]'
# link fallback flag
Expand Down
26 changes: 14 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,13 @@ services:
# time to wait for selenium
SE_WAIT: 5
# extract link pattern
LINK_WHITE_LIST: '[
".*?\\.onion",
".*?\\.i2p", "127\\.0\\.0\\.1:7657", "localhost:7657", "127\\.0\\.0\\.1:7658", "localhost:7658",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]'
LINK_WHITE_LIST: |
[
".*?\\.onion",
".*?\\.i2p", "127\\.0\\.0\\.1:7657", "localhost:7657", "127\\.0\\.0\\.1:7658", "localhost:7658",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]
# link black list
LINK_BLACK_LIST: '[ "(.*\\.)?facebookcorewwwi\\.onion", "(.*\\.)?nytimes3xbfgragh\\.onion" ]'
# link fallback flag
Expand Down Expand Up @@ -231,12 +232,13 @@ services:
# time to wait for selenium
SE_WAIT: 5
# extract link pattern
LINK_WHITE_LIST: '[
".*?\\.onion",
".*?\\.i2p", "127\\.0\\.0\\.1:7657", "localhost:7657", "127\\.0\\.0\\.1:7658", "localhost:7658",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]'
LINK_WHITE_LIST: |
[
".*?\\.onion",
".*?\\.i2p", "127\\.0\\.0\\.1:7657", "localhost:7657", "127\\.0\\.0\\.1:7658", "localhost:7658",
"127\\.0\\.0\\.1:43110", "localhost:43110",
"127\\.0\\.0\\.1:8888", "localhost:8888"
]
# link black list
LINK_BLACK_LIST: '[ "(.*\\.)?facebookcorewwwi\\.onion", "(.*\\.)?nytimes3xbfgragh\\.onion" ]'
# link fallback flag
Expand Down

0 comments on commit 31682af

Please sign in to comment.