-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for ocelot in docker-compose setup
- Loading branch information
itismadness
committed
Aug 20, 2021
1 parent
954b366
commit bec6976
Showing
5 changed files
with
80 additions
and
8 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,6 @@ | ||
#!/bin/bash | ||
|
||
echo "Waiting for mysql, sleeping for 20 seconds" | ||
sleep 20 | ||
|
||
/srv/ocelot |
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,39 @@ | ||
# Ocelot config file | ||
# Lines starting with a # are ignored | ||
# A # anywhere else is treated like any other character | ||
|
||
listen_port = 34000 | ||
max_connections = 128 | ||
max_middlemen = 20000 | ||
max_read_buffer = 4096 | ||
connection_timeout = 10 | ||
# Keepalive is mostly useful if the tracker runs behind reverse proxies | ||
keepalive_timeout = 0 | ||
enable_ipv6 = false | ||
|
||
announce_interval = 1800 | ||
max_request_size = 4096 | ||
numwant_limit = 50 | ||
request_log_size = 500 | ||
|
||
mysql_host = mysql | ||
mysql_username = gazelle | ||
mysql_password = password | ||
mysql_db = gazelle | ||
# All queries are written to this file, if writable. Will be created if necessary. | ||
mysql_query_dump = | ||
|
||
# The passwords must be 32 characters and match the Gazelle config | ||
report_password = 00000000000000000000000000000000 | ||
site_password = 00000000000000000000000000000000 | ||
|
||
peers_timeout = 7200 | ||
del_reason_lifetime = 86400 | ||
reap_peers_interval = 1800 | ||
schedule_interval = 3 | ||
|
||
log = false | ||
log_queries = true | ||
log_path = /tmp/ocelot | ||
|
||
readonly = false |
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