mirror of
https://github.com/fruworg/infrastructure.git
synced 2025-06-28 07:03:57 +03:00
add some files
This commit is contained in:
5
compose/chatgpt/chatgpt.env
Normal file
5
compose/chatgpt/chatgpt.env
Normal file
@ -0,0 +1,5 @@
|
||||
OPENAI_API_KEY=$CHATGPT_OPENAI_API_KEY
|
||||
TELEGRAM_BOT_TOKEN=$CHATGPT_TG_TOKEN
|
||||
ADMIN_USER_IDS=$CHATGPT_TG_ADMINS
|
||||
ALLOWED_TELEGRAM_USER_IDS=$CHATGPT_TG_USERS
|
||||
BOT_LANGUAGE=ru
|
12
compose/chatgpt/docker-compose.yml
Normal file
12
compose/chatgpt/docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
|
||||
chatgpt:
|
||||
hostname: chatgpt
|
||||
image: ghcr.io/n3d1117/chatgpt-telegram-bot:latest
|
||||
volumes:
|
||||
- .:/app
|
||||
env_file:
|
||||
- chatgpt.env
|
||||
restart: unless-stopped
|
183
compose/cstrike/configs/amxx.cfg
Normal file
183
compose/cstrike/configs/amxx.cfg
Normal file
@ -0,0 +1,183 @@
|
||||
// AMX Mod X Configuration File
|
||||
echo Executing AMX Mod X Configuration File
|
||||
|
||||
// Default access for all non admin players (see users.ini for access details)
|
||||
//
|
||||
// Default value: "z"
|
||||
amx_default_access "z"
|
||||
|
||||
// Name of setinfo which should store a password on a client (you should change this)
|
||||
// Note: Always prefix the field with an underscore (aka: "_")
|
||||
// (Example: setinfo _pw "password")
|
||||
//
|
||||
// Default value: "_pw"
|
||||
amx_password_field "_pw"
|
||||
|
||||
// Mode of logging to a server
|
||||
// 0 - disable logging, players won't be checked (and access won't be set)
|
||||
// 1 - normal mode which obey flags set in accounts
|
||||
// 2 - kick all players not on list
|
||||
//
|
||||
// Default value: 1
|
||||
amx_mode 1
|
||||
|
||||
// Show admins activity
|
||||
// 0 - disabled
|
||||
// 1 - show without admin name
|
||||
// 2 - show with name
|
||||
// 3 - show name only to admins, hide name from normal users
|
||||
// 4 - show name only to admins, show nothing to normal users
|
||||
// 5 - hide name only to admins, show nothing to normal users
|
||||
//
|
||||
// Default value: 2
|
||||
amx_show_activity 2
|
||||
|
||||
// Frequency in seconds and text of scrolling message
|
||||
//
|
||||
// Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600
|
||||
// amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600
|
||||
|
||||
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
|
||||
//
|
||||
// Default values: "Welcome to %hostname%" "000255100"
|
||||
// "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255"
|
||||
// amx_imessage "Welcome to %hostname%" "000255100"
|
||||
// amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"
|
||||
|
||||
// Frequency in seconds of colored messages
|
||||
//
|
||||
// Default value: 180
|
||||
amx_freq_imessage 180
|
||||
|
||||
// Ban times for the main ban menu (amx_banmenu)
|
||||
// Use 0 for permanent ban.
|
||||
// Default values: 0 5 10 15 30 45 60
|
||||
amx_plmenu_bantimes 0 5 10 15 30 45 60
|
||||
|
||||
// Max temporary ban time (admins with ADMIN_BAN_TEMP access can't ban more than this time)
|
||||
// time in minutes, 60 is 1 hour, 120 is 2 hours, 1440 is 1 day, and 10080 is 1 week
|
||||
// Default value: 4320 aka 3 days
|
||||
amx_tempban_maxtime 4320
|
||||
|
||||
// Slap damage amounts for the main slap menu (amx_slapmenu)
|
||||
// Slay is automatically inserted as the last option.
|
||||
// Default values: 0 1 5
|
||||
amx_plmenu_slapdmg 0 1 5
|
||||
|
||||
// Set in seconds how fast players can chat (chat-flood protection)
|
||||
//
|
||||
// Default value: 0.75
|
||||
amx_flood_time 0.75
|
||||
|
||||
// Amount of slots to reserve.
|
||||
//
|
||||
// Default value: 0
|
||||
amx_reservation 0
|
||||
|
||||
// If you set this to 1, you can hide slots on your server.
|
||||
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
|
||||
//
|
||||
// Default value: 0
|
||||
amx_hideslots 0
|
||||
|
||||
// Displaying of time remaining
|
||||
// a - display white text on bottom
|
||||
// b - use voice
|
||||
// c - don't add "remaining" (only in voice)
|
||||
// d - don't add "hours/minutes/seconds" (only in voice)
|
||||
// e - show/speak if current time is less than this set in parameter
|
||||
//
|
||||
// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
|
||||
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
|
||||
|
||||
// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.
|
||||
//
|
||||
// Default value: 1
|
||||
amx_time_voice 1
|
||||
|
||||
// Minimum delay in seconds between two voting sessions
|
||||
//
|
||||
// Default value: 10
|
||||
amx_vote_delay 10
|
||||
|
||||
// How long voting session goes on
|
||||
//
|
||||
// Default value: 10
|
||||
amx_vote_time 10
|
||||
|
||||
// Display who votes for what option, set to 0 to disable, 1 to enable.
|
||||
//
|
||||
// Default value: 1
|
||||
amx_vote_answers 1
|
||||
|
||||
// Some ratios for voting success
|
||||
|
||||
// Default value: 0.40
|
||||
amx_votekick_ratio 0.40
|
||||
|
||||
// Default value: 0.40
|
||||
amx_voteban_ratio 0.40
|
||||
|
||||
// Default value: 0.40
|
||||
amx_votemap_ratio 0.40
|
||||
|
||||
// Default value: 0.02
|
||||
amx_vote_ratio 0.02
|
||||
|
||||
// Max. time to which map can be extended
|
||||
//
|
||||
// Default value: 90
|
||||
amx_extendmap_max 90
|
||||
|
||||
// Step for each extending
|
||||
//
|
||||
// Default value: 15
|
||||
amx_extendmap_step 15
|
||||
|
||||
// Server language in ISO 639-1 format
|
||||
// Please see data/lang/languages.txt file for a list of supported languages
|
||||
//
|
||||
// Default value: en
|
||||
amx_language "ru"
|
||||
|
||||
// If you set this to 0, clients cannot chose their language, instead they use
|
||||
// whatever language the server is configured to use.
|
||||
//
|
||||
// Default value: 1
|
||||
amx_client_languages 1
|
||||
|
||||
// If you set this to 0, clients will not see a message about amx_langmenu when they join the server
|
||||
//
|
||||
// Default value: 1
|
||||
amx_language_display_msg 1
|
||||
|
||||
// If you set this to 0, clients will not see a message about amx_help when they join the server
|
||||
//
|
||||
// Default value: 1
|
||||
amx_help_display_msg 1
|
||||
|
||||
// Time to wait (in seconds) before displaying a message about amx_help to a client once joined the server
|
||||
//
|
||||
// Default value: 15
|
||||
amx_help_display_msg_time 15
|
||||
|
||||
// Amount of commands per amx_help page
|
||||
//
|
||||
// Default value: 10
|
||||
amx_help_amount_per_page 10
|
||||
|
||||
// Plugin Debug mode
|
||||
// 0 - No debugging (garbage line numbers)
|
||||
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
|
||||
// 2 - All plugins are put in debug mode
|
||||
// Note - debug mode will affect JIT performance
|
||||
//
|
||||
// Default value: 1
|
||||
amx_debug 1
|
||||
|
||||
// Plugin MultiLingual Debug
|
||||
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
|
||||
// "" means disabled
|
||||
//
|
||||
// Default value: ""
|
||||
amx_mldebug ""
|
0
compose/cstrike/configs/banned.cfg
Normal file
0
compose/cstrike/configs/banned.cfg
Normal file
176
compose/cstrike/configs/config.cfg
Executable file
176
compose/cstrike/configs/config.cfg
Executable file
@ -0,0 +1,176 @@
|
||||
// This file is overwritten whenever you change your user settings in the game.
|
||||
// Add custom configurations to the file "userconfig.cfg".
|
||||
|
||||
unbindall
|
||||
bind "TAB" "+showscores"
|
||||
bind "ENTER" "+attack"
|
||||
bind "ESCAPE" "cancelselect"
|
||||
bind "SPACE" "+jump"
|
||||
bind "'" "+moveup"
|
||||
bind "+" "sizeup"
|
||||
bind "," "buyammo1"
|
||||
bind "-" "sizedown"
|
||||
bind "." "buyammo2"
|
||||
bind "/" "+movedown"
|
||||
bind "0" "slot10"
|
||||
bind "1" "slot1"
|
||||
bind "2" "slot2"
|
||||
bind "3" "slot3"
|
||||
bind "4" "slot4"
|
||||
bind "5" "slot5"
|
||||
bind "6" "slot6"
|
||||
bind "7" "slot7"
|
||||
bind "8" "slot8"
|
||||
bind "9" "slot9"
|
||||
bind ";" "+mlook"
|
||||
bind "=" "sizeup"
|
||||
bind "[" "invprev"
|
||||
bind "]" "invnext"
|
||||
bind "`" "toggleconsole"
|
||||
bind "a" "+moveleft"
|
||||
bind "b" "buy"
|
||||
bind "c" "radio3"
|
||||
bind "d" "+moveright"
|
||||
bind "e" "+use"
|
||||
bind "f" "impulse 100"
|
||||
bind "g" "drop"
|
||||
bind "h" "+commandmenu"
|
||||
bind "i" "showbriefing"
|
||||
bind "k" "+voicerecord"
|
||||
bind "m" "chooseteam"
|
||||
bind "n" "nightvision"
|
||||
bind "o" "buyequip"
|
||||
bind "q" "lastinv"
|
||||
bind "r" "+reload"
|
||||
bind "s" "+back"
|
||||
bind "t" "impulse 201"
|
||||
bind "u" "messagemode2"
|
||||
bind "w" "+forward"
|
||||
bind "x" "radio2"
|
||||
bind "y" "messagemode"
|
||||
bind "z" "radio1"
|
||||
bind "~" "toggleconsole"
|
||||
bind "UPARROW" "+forward"
|
||||
bind "DOWNARROW" "+back"
|
||||
bind "LEFTARROW" "+left"
|
||||
bind "RIGHTARROW" "+right"
|
||||
bind "ALT" "+strafe"
|
||||
bind "CTRL" "+duck"
|
||||
bind "SHIFT" "+speed"
|
||||
bind "F1" "autobuy"
|
||||
bind "F2" "rebuy"
|
||||
bind "F5" "snapshot"
|
||||
bind "F10" "quit prompt"
|
||||
bind "INS" "+klook"
|
||||
bind "PGDN" "+lookdown"
|
||||
bind "PGUP" "+lookup"
|
||||
bind "END" "force_centerview"
|
||||
bind "MWHEELDOWN" "invnext"
|
||||
bind "MWHEELUP" "invprev"
|
||||
bind "MOUSE1" "+attack"
|
||||
bind "MOUSE2" "+attack2"
|
||||
bind "PAUSE" "pause"
|
||||
_cl_autowepswitch "1"
|
||||
_snd_mixahead "0.1"
|
||||
ati_npatch "1.0"
|
||||
bgmvolume "1.000000"
|
||||
bottomcolor "6"
|
||||
brightness "1.000000"
|
||||
cl_allowdownload "1"
|
||||
cl_allowupload "1"
|
||||
cl_backspeed "400"
|
||||
cl_cmdbackup "2"
|
||||
cl_cmdrate "60"
|
||||
cl_corpsestay "600.000000"
|
||||
cl_crosshair_color "50 250 50"
|
||||
cl_crosshair_size "auto"
|
||||
cl_crosshair_translucent "1"
|
||||
cl_dlmax "512"
|
||||
cl_download_ingame "1"
|
||||
cl_dynamiccrosshair "1"
|
||||
cl_forwardspeed "400"
|
||||
cl_himodels "0"
|
||||
cl_idealpitchscale "0.8"
|
||||
cl_lc "1"
|
||||
cl_logocolor "#Valve_Orange"
|
||||
cl_logofile "lambda"
|
||||
cl_lw "1"
|
||||
cl_min_ct "2"
|
||||
cl_min_t "1"
|
||||
cl_minmodels "0"
|
||||
cl_mousegrab "1"
|
||||
cl_radartype "0"
|
||||
cl_righthand "1"
|
||||
cl_shadows "1"
|
||||
cl_sidespeed "400"
|
||||
cl_updaterate "60"
|
||||
cl_vsmoothing "0.05"
|
||||
cl_weather "1"
|
||||
con_color "255 180 30"
|
||||
console "1.000000"
|
||||
crosshair "1.000000"
|
||||
fastsprites "0"
|
||||
fps_max "100.0"
|
||||
gamma "2.500000"
|
||||
gl_dither "1"
|
||||
gl_flipmatrix "0"
|
||||
gl_fog "1"
|
||||
gl_monolights "0"
|
||||
gl_overbright "0"
|
||||
gl_polyoffset "4"
|
||||
gl_vsync "1"
|
||||
hisound "1"
|
||||
hpk_maxsize "4"
|
||||
hud_capturemouse "1"
|
||||
hud_centerid "0"
|
||||
hud_draw "1"
|
||||
hud_fastswitch "0"
|
||||
hud_saytext_internal "1"
|
||||
hud_takesshots "0"
|
||||
joystick "0"
|
||||
lookspring "0.000000"
|
||||
lookstrafe "0.000000"
|
||||
m_customaccel "0"
|
||||
m_customaccel_exponent "1"
|
||||
m_customaccel_max "0"
|
||||
m_customaccel_scale "0.04"
|
||||
m_filter "0"
|
||||
m_forward "1"
|
||||
m_mousethread_sleep "10"
|
||||
m_pitch "0.022000"
|
||||
m_rawinput "0"
|
||||
m_side "0.8"
|
||||
m_yaw "0.022"
|
||||
model "gordon"
|
||||
MP3FadeTime "2.0"
|
||||
MP3Volume "0.800000"
|
||||
mp_decals "300.000000"
|
||||
name "Player"
|
||||
net_graph "0"
|
||||
net_graphpos "1"
|
||||
net_scale "5"
|
||||
r_detailtextures "0"
|
||||
sensitivity "3.000000"
|
||||
skin ""
|
||||
spec_autodirector_internal "1"
|
||||
spec_drawcone_internal "1"
|
||||
spec_drawnames_internal "1"
|
||||
spec_drawstatus_internal "1"
|
||||
spec_mode_internal "1"
|
||||
spec_pip "0"
|
||||
suitvolume "0.250000"
|
||||
sv_aim "1"
|
||||
sv_voiceenable "1"
|
||||
team ""
|
||||
topcolor "30"
|
||||
viewsize "120.000000"
|
||||
voice_enable "1"
|
||||
voice_forcemicrecord "1"
|
||||
voice_modenable "1"
|
||||
voice_scale "0.750000"
|
||||
volume "0.800000"
|
||||
setinfo "_vgui_menus" "1"
|
||||
setinfo "_ah" "1"
|
||||
+mlook
|
||||
+jlook
|
||||
exec userconfig.cfg
|
505
compose/cstrike/configs/game.cfg
Normal file
505
compose/cstrike/configs/game.cfg
Normal file
@ -0,0 +1,505 @@
|
||||
echo Executing ReGameDLL Configuration File
|
||||
|
||||
// The style of gameplay where there aren't any teams (FFA mode)
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_freeforall "0"
|
||||
|
||||
// Auto balancing of teams
|
||||
// 0 - disabled
|
||||
// 1 - on after next round (default behaviour)
|
||||
// 2 - on next round
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_autoteambalance "1"
|
||||
|
||||
// Designate the desired amount of buy time for each round. (in minutes)
|
||||
// -1 - means no time limit
|
||||
// 0 - disable buy
|
||||
//
|
||||
// Default value: "1.5"
|
||||
mp_buytime "0.25"
|
||||
|
||||
// The maximum allowable amount of money in the game
|
||||
// NOTE: Allowable money limit is 999999
|
||||
//
|
||||
// Default value: "16000"
|
||||
mp_maxmoney "16000"
|
||||
|
||||
// Disable round end by game scenario
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - enabled (never end round)
|
||||
//
|
||||
// Flags for fine grained control (choose as many as needed)
|
||||
// a - block round time round end check, contains "h", "i", "j", "k" flags
|
||||
// b - block needed players round end check
|
||||
// c - block VIP assassination/success round end check
|
||||
// d - block prison escape round end check
|
||||
// e - block bomb round end check
|
||||
// f - block team extermination round end check
|
||||
// g - block hostage rescue round end check
|
||||
// h - block VIP assassination/success round time end check
|
||||
// i - block prison escape round time end check
|
||||
// j - block bomb round time end check
|
||||
// k - block hostage rescue round time end check
|
||||
//
|
||||
// Example setting: "ae" - blocks round time and bomb round end checks
|
||||
// Default value: "0"
|
||||
mp_round_infinite "0"
|
||||
|
||||
// The round by expired time will be over, if on a map it does not have the scenario of the game.
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - end of the round with a draw
|
||||
// 2 - round end with Terrorists win
|
||||
// 3 - round end with Counter-Terrorists win
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_roundover "0"
|
||||
|
||||
// Number of seconds to delay before restarting a round after a win.
|
||||
//
|
||||
// Default value: "5"
|
||||
mp_round_restart_delay "5"
|
||||
|
||||
// Disable grenade damage through walls
|
||||
// 0 - disabled
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_hegrenade_penetration "0"
|
||||
|
||||
// Drop a grenade after player death
|
||||
// 0 - disabled
|
||||
// 1 - drop first available grenade
|
||||
// 2 - drop all grenades
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_nadedrops "0"
|
||||
|
||||
// Player cannot respawn until next round
|
||||
// if more than N seconds has elapsed since the beginning round
|
||||
// -1 - means no time limit
|
||||
//
|
||||
// Default value: "20"
|
||||
mp_roundrespawn_time "20"
|
||||
|
||||
// Automatically reload each weapon on player spawn
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_auto_reload_weapons "0"
|
||||
|
||||
// Refill amount of backpack ammo up to the max
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - refill backpack ammo on player spawn
|
||||
// 2 - refill backpack ammo on player spawn and on the purchase of the item
|
||||
// 3 - refill backpack ammo on each weapon reload (NOTE: Useful for mods like DeathMatch, GunGame, ZombieMod etc.)
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_refill_bpammo_weapons "0"
|
||||
|
||||
// Sets the mode infinite ammo for weapons
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - weapon clip infinite
|
||||
// 2 - weapon bpammo infinite (This means for reloading)
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_infinite_ammo "0"
|
||||
|
||||
// Enable infinite grenades
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - grenades infinite
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_infinite_grenades "0"
|
||||
|
||||
// Automatically joins the team
|
||||
// 0 - disabled
|
||||
// 1 - enabled (Use in conjunction with the cvar humans_join_team any/SPEC/CT/T)
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_auto_join_team "0"
|
||||
|
||||
// Maximum number of allowed teamkills before autokick.
|
||||
// Used when enabled mp_autokick.
|
||||
// 0 - disabled
|
||||
//
|
||||
// Default value: "3"
|
||||
mp_max_teamkills "3"
|
||||
|
||||
// If set to something other than 0,
|
||||
// when anybody’s scored reaches mp_fraglimit the server changes map.
|
||||
// 0 - means no limit
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_fraglimit "0"
|
||||
|
||||
// Period between map rotations.
|
||||
// 0 - means no limit
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_timelimit "20"
|
||||
|
||||
// Players will automatically respawn when killed.
|
||||
// 0 - disabled
|
||||
// >0.00001 - time delay to respawn
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_forcerespawn "0"
|
||||
|
||||
// The hostages can take damage.
|
||||
// 0 - disabled
|
||||
// 1 - from any team (default behaviour)
|
||||
// 2 - only from CT
|
||||
// 3 - only from T
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_hostage_hurtable "1"
|
||||
|
||||
// Show radio icon.
|
||||
// 0 - disabled
|
||||
// 1 - enabled (default behavior)
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_show_radioicon "1"
|
||||
|
||||
// Show scenario icon in HUD such as count of alive hostages or ticking bomb.
|
||||
// 0 - disabled (default behavior)
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_show_scenarioicon "0"
|
||||
|
||||
// Play "Bomb has been defused" sound instead of "Counter-Terrorists win" when bomb was defused
|
||||
// 0 - disabled (default behavior)
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_old_bomb_defused_sound "1"
|
||||
|
||||
// Sets the mode for the zBot
|
||||
// 0 - disabled
|
||||
// 1 - enable mode Deathmatch and not allow to do the scenario
|
||||
//
|
||||
// Default value: "0"
|
||||
bot_deathmatch "0"
|
||||
|
||||
// Determines the type of quota.
|
||||
// normal - default behaviour
|
||||
// fill - the server will adjust bots to keep N players in the game, where N is bot_quota
|
||||
// match - the server will maintain a 1:N ratio of humans to bots, where N is bot_quota
|
||||
//
|
||||
// Default value: "normal"
|
||||
bot_quota_mode "normal"
|
||||
|
||||
// Prevents bots from joining the server for this many seconds after a map change.
|
||||
//
|
||||
// Default value: "0"
|
||||
bot_join_delay "0"
|
||||
|
||||
// Prevents bots on your server from moving.
|
||||
// 0 - disabled (default behavior)
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "0"
|
||||
bot_freeze "0"
|
||||
|
||||
// Debug cvar shows triggers.
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "0"
|
||||
showtriggers "0"
|
||||
|
||||
// When players can hear each other.
|
||||
// Further explanation: https://github.com/s1lentq/ReGameDLL_CS/wiki/sv_alltalk
|
||||
// 0 - dead don't hear alive
|
||||
// 1 - no restrictions
|
||||
// 2 - teammates hear each other
|
||||
// 3 - same as 2, but spectators hear everybody
|
||||
// 4 - alive hear alive, dead hear dead and alive.
|
||||
// 5 - alive hear alive teammates, dead hear dead and alive.
|
||||
//
|
||||
// Default value: "0"
|
||||
sv_alltalk "0"
|
||||
|
||||
// Time to remove item that have been dropped from the players. (in seconds)
|
||||
//
|
||||
// Default value: "300"
|
||||
mp_item_staytime "300"
|
||||
|
||||
// Legacy func_bomb_target touch. New one is more strict.
|
||||
// 0 - New behavior
|
||||
// 1 - Legacy behavior
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_legacy_bombtarget_touch "1"
|
||||
|
||||
// Specifies the players defense time after respawn. (in seconds).
|
||||
// 0 - disabled
|
||||
// >0.00001 - time delay to remove protection
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_respawn_immunitytime "0"
|
||||
|
||||
// Enable effects on player spawn protection
|
||||
// 0 - disabled
|
||||
// 1 - enabled (Use in conjunction with the cvar mp_respawn_immunitytime)
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_respawn_immunity_effects "1"
|
||||
|
||||
// Force unset spawn protection if the player doing any action.
|
||||
// 0 - disabled
|
||||
// 1 - when moving and attacking
|
||||
// 2 - only when attacking
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_respawn_immunity_force_unset "1"
|
||||
|
||||
// Kill the player in filled spawn before spawning some one else (Prevents players stucking in each other).
|
||||
// Only disable this if you have semiclip or other plugins that prevents stucking
|
||||
// 0 - disabled
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_kill_filled_spawn "1"
|
||||
|
||||
// Allow use of point_servercommand entities in map.
|
||||
// NOTE: Potentially dangerous for untrusted maps.
|
||||
// 0 - disallow
|
||||
// 1 - allow
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_allow_point_servercommand "0"
|
||||
|
||||
// Show 'HP' field into a scoreboard
|
||||
// -1 - disabled
|
||||
// 0 - don't send any update for 'HP' field to any clients
|
||||
// 1 - show only Terrorist 'HP' field to all clients
|
||||
// 2 - show only CT 'HP' field to all clients
|
||||
// 3 - show 'HP' field to teammates
|
||||
// 4 - show 'HP' field to all clients
|
||||
// 5 - show 'HP' field to teammates and spectators
|
||||
//
|
||||
// Default value: "3"
|
||||
mp_scoreboard_showhealth "3"
|
||||
|
||||
// Show 'Money' field into a scoreboard
|
||||
// -1 - disabled
|
||||
// 0 - don't send any update for 'Money' field to any clients
|
||||
// 1 - show only Terrorist 'Money' field to all clients
|
||||
// 2 - show only CT 'Money' field to all clients
|
||||
// 3 - show 'Money' field to teammates
|
||||
// 4 - show 'Money' field to all clients
|
||||
// 5 - show 'Money' field to teammates and spectators
|
||||
//
|
||||
// Default value: "3"
|
||||
mp_scoreboard_showmoney "3"
|
||||
|
||||
// Show 'D. Kit' field into a scoreboard for teammates
|
||||
// NOTE: If you don't want to show defuse kit field for dead enemies
|
||||
// then disable this CVar or configure mp_forcecamera
|
||||
// 0 - disabled
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_scoreboard_showdefkit "1"
|
||||
|
||||
// How much to reduce damage done to teammates when shot.
|
||||
// Range is from 0 - 1 (with 1 being damage equal to what is done to an enemy)
|
||||
//
|
||||
// Default value: "0.35"
|
||||
ff_damage_reduction_bullets "0.35"
|
||||
|
||||
// How much to reduce damage done to teammates by a thrown grenade.
|
||||
// Range is from 0 - 1 (with 1 being damage equal to what is done to an enemy)
|
||||
//
|
||||
// Default value: "0.25"
|
||||
ff_damage_reduction_grenade "0.25"
|
||||
|
||||
// How much to damage a player does to himself with his own grenade
|
||||
// Range is from 0 - 1 (with 1 being damage equal to what is done to an enemy)
|
||||
//
|
||||
// Default value: "1.0"
|
||||
ff_damage_reduction_grenade_self "1.0"
|
||||
|
||||
// How much to reduce damage done to teammates by things other than bullets and grenades.
|
||||
// Range is from 0 - 1 (with 1 being damage equal to what is done to an enemy)
|
||||
//
|
||||
// Default value: "0.35"
|
||||
ff_damage_reduction_other "0.35"
|
||||
|
||||
// Player that have never moved sience they last move
|
||||
// will drop the bomb after this amount of time. (in seconds).
|
||||
// 0 - disabled
|
||||
// >5.0 - delay to drop
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_afk_bomb_drop_time "0"
|
||||
|
||||
// Delay between player Radio messages. (in seconds).
|
||||
// 0 - disable delay
|
||||
//
|
||||
// Default value: "1.5"
|
||||
mp_radio_timeout "1.5"
|
||||
|
||||
// Maximum Radio messages count for player per round.
|
||||
// 0 - disable radio messages
|
||||
//
|
||||
// Default value: "60"
|
||||
mp_radio_maxinround "60"
|
||||
|
||||
// When set, players can buy anywhere, not only in buyzones.
|
||||
// 0 - disabled
|
||||
// 1 - both teams
|
||||
// 2 - only Terrorists team
|
||||
// 3 - only CT team
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_buy_anywhere "0"
|
||||
|
||||
// Don't unduck if ducking isn't finished yet.
|
||||
// NOTE: This also prevents double duck.
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_unduck_method "0"
|
||||
|
||||
// Whether this map should spawn a C4 bomb for a player or not.
|
||||
// 0 - disabled
|
||||
// 1 - enabled (default behaviour)
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_give_player_c4 "1"
|
||||
|
||||
// When set, map weapons (located on the floor) will be shown.
|
||||
// NOTE: Effect will work after round restart.
|
||||
// 0 - hide all map weapons
|
||||
// 1 - enabled (default behaviour)
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_weapons_allow_map_placed "1"
|
||||
|
||||
// Observer's screen will fade to black on kill event or permanent.
|
||||
// 0 - No fade
|
||||
// 1 - Fade to black and won't be able to watch anybody
|
||||
// 2 - fade to black only on kill moment.
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_fadetoblack "0"
|
||||
|
||||
// Damage from falling.
|
||||
// 0 - disabled
|
||||
// 1 - enabled (default behaviour)
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_falldamage "1"
|
||||
|
||||
// The default grenades that the Ts will spawn with.
|
||||
// Usage: "hegrenade flash sgren"
|
||||
//
|
||||
// Default value: ""
|
||||
mp_t_default_grenades ""
|
||||
|
||||
// Whether Terrorist player spawn with knife.
|
||||
// 0 - disabled
|
||||
// 1 - enabled (default behaviour)
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_t_give_player_knife "1"
|
||||
|
||||
// The default primary (rifle) weapon that the Ts will spawn with.
|
||||
// Usage: "awp m4a1 mp5navy"
|
||||
//
|
||||
// Default value: ""
|
||||
mp_t_default_weapons_primary ""
|
||||
|
||||
// The default secondary (pistol) weapon that the Ts will spawn with.
|
||||
//
|
||||
// Default value: "glock18"
|
||||
mp_t_default_weapons_secondary "glock18"
|
||||
|
||||
// The default grenades that the CTs will spawn with.
|
||||
// Usage: "hegrenade flash sgren"
|
||||
//
|
||||
// Default value: ""
|
||||
mp_ct_default_grenades ""
|
||||
|
||||
// Whether Counter-Terrorist player spawn with knife.
|
||||
// 0 - disabled
|
||||
// 1 - enabled (default behaviour)
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_ct_give_player_knife "1"
|
||||
|
||||
// The default primary (rifle) weapon that the CTs will spawn with.
|
||||
// Usage: "awp m4a1 mp5navy"
|
||||
//
|
||||
// Default value: ""
|
||||
mp_ct_default_weapons_primary ""
|
||||
|
||||
// The default secondary (pistol) weapon that the CTs will spawn with.
|
||||
//
|
||||
// Default value: "usp"
|
||||
mp_ct_default_weapons_secondary "usp"
|
||||
|
||||
// Give the player free armor on player spawn
|
||||
// 0 - No armor (default behavior)
|
||||
// 1 - Give Kevlar
|
||||
// 2 - Give Kevlar and Helmet
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_free_armor "0"
|
||||
|
||||
// Players can receive all other players text chat, team restrictions apply.
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "0"
|
||||
sv_allchat "0"
|
||||
|
||||
// Players automatically re-jump while holding jump button.
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "0"
|
||||
sv_autobunnyhopping "0"
|
||||
|
||||
// Allow player speed to exceed maximum running speed
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "0"
|
||||
sv_enablebunnyhopping "0"
|
||||
|
||||
// When set, players can plant anywhere, not only in bombsites.
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - enabled
|
||||
//
|
||||
// Default value: "0"
|
||||
mp_plant_c4_anywhere "0"
|
||||
|
||||
// How many bonuses (frags) will get the player who defused or exploded the bomb.
|
||||
// 3 - (default behaviour)
|
||||
//
|
||||
// Default value: "3"
|
||||
mp_give_c4_frags "3"
|
||||
|
||||
// Ratio of hostages rescued to win the round.
|
||||
//
|
||||
// Default value: "1.0"
|
||||
mp_hostages_rescued_ratio "1.0"
|
||||
|
||||
// Legacy func_vehicle behavior when blocked by another entity.
|
||||
// New one is more useful for playing multiplayer.
|
||||
//
|
||||
// 0 - New behavior
|
||||
// 1 - Legacy behavior
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_legacy_vehicle_block "1"
|
6
compose/cstrike/configs/game_init.cfg
Normal file
6
compose/cstrike/configs/game_init.cfg
Normal file
@ -0,0 +1,6 @@
|
||||
// Sets mins/maxs hull bounds for the player.
|
||||
// 0 - disabled (default behaviour, sets engine)
|
||||
// 1 - enabled (sets gamedll)
|
||||
//
|
||||
// Default value: "1"
|
||||
mp_hullbounds_sets "1"
|
0
compose/cstrike/configs/listip.cfg
Normal file
0
compose/cstrike/configs/listip.cfg
Normal file
13
compose/cstrike/configs/motd.txt
Executable file
13
compose/cstrike/configs/motd.txt
Executable file
@ -0,0 +1,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>cs.fruw.org</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img src="http://fs.fruw.org/images/floppa.webp" width="100%" height="100%">
|
||||
</body>
|
||||
</html>
|
10
compose/cstrike/configs/plugins.ini
Normal file
10
compose/cstrike/configs/plugins.ini
Normal file
@ -0,0 +1,10 @@
|
||||
linux addons/reunion/reunion_mm_i386.so
|
||||
linux addons/amxmodx/dlls/amxmodx_mm_i386.so
|
||||
linux addons/revoice_plus/revoice_plus_mm.so
|
||||
|
||||
; Optional Modules
|
||||
linux addons/reauthcheck/reauthcheck_mm_i386.so
|
||||
linux addons/rechecker/rechecker_mm_i386.so
|
||||
linux addons/whblocker/whblocker_mm_i386.so
|
||||
linux addons/resemiclip/resemiclip_mm_i386.so
|
||||
linux addons/hitbox_fix/hitbox_fix_mm_i386.so
|
26
compose/cstrike/configs/server.cfg
Executable file
26
compose/cstrike/configs/server.cfg
Executable file
@ -0,0 +1,26 @@
|
||||
// Use this file to configure your DEDICATED server.
|
||||
// This config file is executed on server start.
|
||||
|
||||
// disable autoaim
|
||||
sv_aim 0
|
||||
|
||||
// disable clients' ability to pause the server
|
||||
pausable 0
|
||||
|
||||
// default server name. Change to "Bob's Server", etc.
|
||||
hostname "cs.fruw.org"
|
||||
|
||||
// maximum client movement speed
|
||||
sv_maxspeed 320
|
||||
|
||||
// 20 minute timelimit
|
||||
mp_timelimit 20
|
||||
|
||||
sv_cheats 0
|
||||
|
||||
// load ban files
|
||||
exec listip.cfg
|
||||
exec banned.cfg
|
||||
|
||||
// password
|
||||
sv_password "$PASSWORD"
|
54
compose/cstrike/configs/users.ini
Normal file
54
compose/cstrike/configs/users.ini
Normal file
@ -0,0 +1,54 @@
|
||||
; Users configuration file
|
||||
; File location: $moddir/addons/amxmodx/configs/users.ini
|
||||
|
||||
; Line starting with ; is a comment
|
||||
|
||||
; Access flags:
|
||||
; a - immunity (can't be kicked/banned/slayed/slapped and affected by other commmands)
|
||||
; b - reservation (can join on reserved slots)
|
||||
; c - amx_kick command
|
||||
; d - amx_ban and amx_unban commands (permanent and temporary bans)
|
||||
; e - amx_slay and amx_slap commands
|
||||
; f - amx_map command
|
||||
; g - amx_cvar command (not all cvars will be available)
|
||||
; h - amx_cfg command
|
||||
; i - amx_chat and other chat commands
|
||||
; j - amx_vote and other vote commands
|
||||
; k - access to sv_password cvar (by amx_cvar command)
|
||||
; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
|
||||
; m - custom level A (for additional plugins)
|
||||
; n - custom level B
|
||||
; o - custom level C
|
||||
; p - custom level D
|
||||
; q - custom level E
|
||||
; r - custom level F
|
||||
; s - custom level G
|
||||
; t - custom level H
|
||||
; u - menu access
|
||||
; v - amx_ban and amx_unban commands (temporary bans only, about amx_unban, only self performed ban during map gonna be allowed)
|
||||
; z - user (no admin)
|
||||
|
||||
; Account flags:
|
||||
; a - disconnect player on invalid password
|
||||
; b - clan tag
|
||||
; c - this is steamid/wonid
|
||||
; d - this is ip
|
||||
; e - password is not checked (only name/ip/steamid needed)
|
||||
; k - name or tag is case sensitive. eg: if you set it so the name "Ham"
|
||||
; is protected and case sensitive (flags "k" only), then anybody
|
||||
; can use the names "haM", "HAM", "ham", etc, but not "Ham"
|
||||
|
||||
; Password:
|
||||
; Add to your autoexec.cfg: setinfo _pw "<password>"
|
||||
; Change _pw to the value of amx_password_field
|
||||
|
||||
; Format of admin account:
|
||||
; <name|ip|steamid> <password> <access flags> <account flags>
|
||||
|
||||
; Examples of admin accounts:
|
||||
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstuv" "ce"
|
||||
; "123.45.67.89" "" "abcdefghijklmnopqrstuv" "de"
|
||||
; "My Name" "my_password" "abcdefghijklmnopqrstuv" "a"
|
||||
|
||||
"loopback" "" "abcdefghijklmnopqrstuv" "de"
|
||||
"$STEAMID" "" "abcdefghijklmnopqrstuv" "ce"
|
23
compose/cstrike/docker-compose.yml
Normal file
23
compose/cstrike/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
cstrike:
|
||||
container_name: cstrike
|
||||
image: fruworg/cstrike:latest
|
||||
restart: unless-stopped
|
||||
command: >
|
||||
./hlds_run -game cstrike -strictportbind -ip 0.0.0.0 -port 27015
|
||||
+sv_lan 0 +map de_dust2 -maxplayers 16 +localinfo amxx_cfg cstrike/addons/amxmodx
|
||||
volumes:
|
||||
- ./configs/motd.txt:/hlds/cstrike/motd.txt
|
||||
- ./configs/server.cfg:/hlds/cstrike/server.cfg
|
||||
- ./configs/config.cfg:/hlds/cstrike/config.cfg
|
||||
- ./configs/game.cfg:/hlds/cstrike/game.cfg
|
||||
- ./configs/game_init.cfg:/hlds/cstrike/game_init.cfg
|
||||
- ./configs/listip.cfg:/hlds/cstrike/listip.cfg
|
||||
- ./configs/banned.cfg:/hlds/cstrike/banned.cfg
|
||||
- ./configs/plugins.ini:/hlds/cstrike/addons/metamod/plugins.ini
|
||||
- ./configs/amxx.cfg:/hlds/cstrike/addons/amxmodx/configs/amxx.cfg
|
||||
- ./configs/users.ini:/hlds/cstrike/addons/amxmodx/configs/users.ini
|
||||
ports:
|
||||
- 27015:27015/udp
|
152
compose/dendrite/config/dendrite.yaml
Normal file
152
compose/dendrite/config/dendrite.yaml
Normal file
@ -0,0 +1,152 @@
|
||||
version: 2
|
||||
|
||||
global:
|
||||
server_name: fruw.org
|
||||
private_key: matrix_key.pem
|
||||
key_validity_period: 168h0m0s
|
||||
|
||||
database:
|
||||
connection_string: postgresql://dendrite:$DENDRITE_DB_PASSWORD@matrix.fruw.org/dendrite?sslmode=disable
|
||||
max_open_conns: 90
|
||||
max_idle_conns: 5
|
||||
conn_max_lifetime: -1
|
||||
|
||||
cache:
|
||||
max_size_estimated: 1gb
|
||||
max_age: 1h
|
||||
|
||||
well_known_server_name: ""
|
||||
well_known_client_name: ""
|
||||
|
||||
trusted_third_party_id_servers:
|
||||
- matrix.org
|
||||
- vector.im
|
||||
|
||||
disable_federation: false
|
||||
|
||||
presence:
|
||||
enable_inbound: false
|
||||
enable_outbound: false
|
||||
|
||||
report_stats:
|
||||
enabled: false
|
||||
endpoint: https://panopticon.matrix.org/push
|
||||
|
||||
server_notices:
|
||||
enabled: false
|
||||
local_part: "_server"
|
||||
display_name: "Server Alerts"
|
||||
avatar_url: ""
|
||||
room_name: "Server Alerts"
|
||||
|
||||
jetstream:
|
||||
addresses:
|
||||
disable_tls_validation: false
|
||||
storage_path: ./
|
||||
topic_prefix: Dendrite
|
||||
|
||||
metrics:
|
||||
enabled: false
|
||||
basic_auth:
|
||||
username: metrics
|
||||
password: metrics
|
||||
|
||||
dns_cache:
|
||||
enabled: false
|
||||
cache_size: 256
|
||||
cache_lifetime: "5m" # 5 minutes; https://pkg.go.dev/time@master#ParseDuration
|
||||
|
||||
app_service_api:
|
||||
disable_tls_validation: false
|
||||
config_files:
|
||||
|
||||
client_api:
|
||||
registration_disabled: true
|
||||
guests_disabled: true
|
||||
registration_shared_secret: "$DENDRITE_SHARED_SECRET"
|
||||
enable_registration_captcha: false
|
||||
|
||||
recaptcha_public_key: ""
|
||||
recaptcha_private_key: ""
|
||||
recaptcha_bypass_secret: ""
|
||||
|
||||
turn:
|
||||
turn_user_lifetime: "5m"
|
||||
turn_uris:
|
||||
- turn:turn.fruw.org?transport=udp
|
||||
- turn:turn.fruw.org?transport=tcp
|
||||
turn_shared_secret: "$TURN_SHARED_SECRET"
|
||||
|
||||
rate_limiting:
|
||||
enabled: false
|
||||
threshold: 20
|
||||
cooloff_ms: 500
|
||||
exempt_user_ids:
|
||||
# - "@user:domain.com"
|
||||
|
||||
federation_api:
|
||||
send_max_retries: 16
|
||||
disable_tls_validation: false
|
||||
disable_http_keepalives: false
|
||||
|
||||
key_perspectives:
|
||||
- server_name: matrix.org
|
||||
keys:
|
||||
- key_id: ed25519:auto
|
||||
public_key: Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw
|
||||
- key_id: ed25519:a_RXGa
|
||||
public_key: l8Hft5qXKn1vfHrg3p4+W8gELQVo8N13JkluMfmn2sQ
|
||||
|
||||
prefer_direct_fetch: false
|
||||
|
||||
media_api:
|
||||
base_path: ./media_store
|
||||
max_file_size_bytes: 10485760
|
||||
dynamic_thumbnails: false
|
||||
max_thumbnail_generators: 10
|
||||
thumbnail_sizes:
|
||||
- width: 32
|
||||
height: 32
|
||||
method: crop
|
||||
- width: 96
|
||||
height: 96
|
||||
method: crop
|
||||
- width: 640
|
||||
height: 480
|
||||
method: scale
|
||||
|
||||
mscs:
|
||||
mscs:
|
||||
# - msc2836 # (Threading, see https://github.com/matrix-org/matrix-doc/pull/2836)
|
||||
|
||||
sync_api:
|
||||
search:
|
||||
enabled: false
|
||||
index_path: "./searchindex"
|
||||
language: "ru"
|
||||
|
||||
user_api:
|
||||
bcrypt_cost: 10
|
||||
auto_join_rooms:
|
||||
# - "#main:matrix.org"
|
||||
|
||||
tracing:
|
||||
enabled: false
|
||||
jaeger:
|
||||
serviceName: ""
|
||||
disabled: false
|
||||
rpc_metrics: false
|
||||
tags: []
|
||||
sampler: null
|
||||
reporter: null
|
||||
headers: null
|
||||
baggage_restrictions: null
|
||||
throttler: null
|
||||
|
||||
logging:
|
||||
- type: std
|
||||
level: info
|
||||
- type: file
|
||||
level: info
|
||||
params:
|
||||
path: ./logs
|
26
compose/dendrite/docker-compose.yml
Normal file
26
compose/dendrite/docker-compose.yml
Normal file
@ -0,0 +1,26 @@
|
||||
version: "3.4"
|
||||
|
||||
services:
|
||||
|
||||
dendrite:
|
||||
hostname: dendrite
|
||||
image: matrixdotorg/dendrite-monolith:latest
|
||||
ports:
|
||||
- 127.0.0.1:50003:8008
|
||||
- 127.0.0.1:50004:8448
|
||||
volumes:
|
||||
- ./config:/etc/dendrite
|
||||
- ./dendrite_media:/var/dendrite/media
|
||||
- ./dendrite_jetstream:/var/dendrite/jetstream
|
||||
- ./dendrite_search_index:/var/dendrite/searchindex
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- default
|
||||
|
||||
networks:
|
||||
default:
|
||||
driver: bridge
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.22.22.0/24
|
24
compose/eturnal/docker-compose.yml
Normal file
24
compose/eturnal/docker-compose.yml
Normal file
@ -0,0 +1,24 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
|
||||
eturnal:
|
||||
image: ghcr.io/processone/eturnal:latest
|
||||
hostname: eturnal
|
||||
container_name: eturnal
|
||||
restart: unless-stopped
|
||||
read_only: true
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- NET_BIND_SERVICE
|
||||
ports:
|
||||
- 3478:3478 # STUN/TURN non-TLS
|
||||
- 3478:3478/udp # STUN/TURN non-TLS
|
||||
- 5349:5349 # STUN/TURN TLS
|
||||
- 52000-59999:52000-59999/udp # TURN relay range
|
||||
network_mode: "host"
|
||||
env_file:
|
||||
- eturnal.env
|
||||
volumes:
|
||||
- /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/turn.fruw.org:/opt/eturnal/tls
|
4
compose/eturnal/eturnal.env
Normal file
4
compose/eturnal/eturnal.env
Normal file
@ -0,0 +1,4 @@
|
||||
ETURNAL_RELAY_IPV4_ADDR=79.137.198.179
|
||||
ETURNAL_RELAY_MIN_PORT=52000
|
||||
ETURNAL_RELAY_MAX_PORT=59999
|
||||
ETURNAL_SECRET=$ETURNAL_SECRET
|
27
compose/gitea/docker-compose.yml
Normal file
27
compose/gitea/docker-compose.yml
Normal file
@ -0,0 +1,27 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
gitea:
|
||||
hostname: gitea
|
||||
image: gitea/gitea:latest
|
||||
container_name: gitea
|
||||
restart: always
|
||||
networks:
|
||||
- default
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- 127.0.0.1:50005:3000
|
||||
- 127.0.0.1:50006:22
|
||||
env_file:
|
||||
- gitea.env
|
||||
|
||||
networks:
|
||||
default:
|
||||
driver: bridge
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.27.27.0/24
|
9
compose/gitea/gitea.env
Normal file
9
compose/gitea/gitea.env
Normal file
@ -0,0 +1,9 @@
|
||||
USER_UID=1000
|
||||
USER_GID=1000
|
||||
GITEA__database__DB_TYPE=postgres
|
||||
GITEA__database__HOST=git.fruw.org:5432
|
||||
GITEA__database__NAME=gitea
|
||||
GITEA__database__USER=gitea
|
||||
GITEA__database__PASSWD=$GITEA_DB_PASSWORD
|
||||
DISABLE_REGISTRATION=true
|
||||
ENABLE_OPENID_SIGNIN=false
|
160
compose/mailu/docker-compose.yml
Normal file
160
compose/mailu/docker-compose.yml
Normal file
@ -0,0 +1,160 @@
|
||||
version: '2.2'
|
||||
|
||||
services:
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- "./redis:/data"
|
||||
depends_on:
|
||||
- resolver
|
||||
dns:
|
||||
- 172.25.25.254
|
||||
|
||||
front:
|
||||
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}nginx:${MAILU_VERSION:-2.0}
|
||||
restart: always
|
||||
env_file: mailu.env
|
||||
logging:
|
||||
driver: journald
|
||||
options:
|
||||
tag: mailu-front
|
||||
ports:
|
||||
- "127.0.0.1:50001:80"
|
||||
- "127.0.0.1:50002:443"
|
||||
- "79.137.198.179:25:25"
|
||||
- "79.137.198.179:465:465"
|
||||
- "79.137.198.179:587:587"
|
||||
- "79.137.198.179:110:110"
|
||||
- "79.137.198.179:995:995"
|
||||
- "79.137.198.179:143:143"
|
||||
- "79.137.198.179:993:993"
|
||||
networks:
|
||||
- default
|
||||
- webmail
|
||||
volumes:
|
||||
- "/var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/fruw.org:/certs"
|
||||
- "./overrides/nginx:/overrides:ro"
|
||||
depends_on:
|
||||
- resolver
|
||||
dns:
|
||||
- 172.25.25.254
|
||||
|
||||
resolver:
|
||||
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}unbound:${MAILU_VERSION:-2.0}
|
||||
env_file: mailu.env
|
||||
restart: always
|
||||
networks:
|
||||
default:
|
||||
ipv4_address: 172.25.25.254
|
||||
|
||||
admin:
|
||||
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}admin:${MAILU_VERSION:-2.0}
|
||||
restart: always
|
||||
env_file: mailu.env
|
||||
logging:
|
||||
driver: journald
|
||||
options:
|
||||
tag: mailu-admin
|
||||
volumes:
|
||||
- "./data:/data"
|
||||
- "./dkim:/dkim"
|
||||
depends_on:
|
||||
- redis
|
||||
- resolver
|
||||
dns:
|
||||
- 172.25.25.254
|
||||
|
||||
imap:
|
||||
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}dovecot:${MAILU_VERSION:-2.0}
|
||||
restart: always
|
||||
env_file: mailu.env
|
||||
logging:
|
||||
driver: journald
|
||||
options:
|
||||
tag: mailu-imap
|
||||
volumes:
|
||||
- "./mail:/mail"
|
||||
- "./overrides/dovecot:/overrides:ro"
|
||||
depends_on:
|
||||
- front
|
||||
- resolver
|
||||
dns:
|
||||
- 172.25.25.254
|
||||
|
||||
smtp:
|
||||
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-2.0}
|
||||
restart: always
|
||||
env_file: mailu.env
|
||||
logging:
|
||||
driver: journald
|
||||
options:
|
||||
tag: mailu-smtp
|
||||
volumes:
|
||||
- "./mailqueue:/queue"
|
||||
- "./overrides/postfix:/overrides:ro"
|
||||
depends_on:
|
||||
- front
|
||||
- resolver
|
||||
dns:
|
||||
- 172.25.25.254
|
||||
|
||||
oletools:
|
||||
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}oletools:${MAILU_VERSION:-2.0}
|
||||
hostname: oletools
|
||||
restart: always
|
||||
networks:
|
||||
- noinet
|
||||
depends_on:
|
||||
- resolver
|
||||
dns:
|
||||
- 172.25.25.254
|
||||
|
||||
antispam:
|
||||
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-2.0}
|
||||
hostname: antispam
|
||||
restart: always
|
||||
env_file: mailu.env
|
||||
logging:
|
||||
driver: journald
|
||||
options:
|
||||
tag: mailu-antispam
|
||||
networks:
|
||||
- default
|
||||
- noinet
|
||||
volumes:
|
||||
- "./filter:/var/lib/rspamd"
|
||||
- "./overrides/rspamd:/overrides:ro"
|
||||
depends_on:
|
||||
- front
|
||||
- redis
|
||||
- oletools
|
||||
- resolver
|
||||
dns:
|
||||
- 172.25.25.254
|
||||
|
||||
webmail:
|
||||
image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}webmail:${MAILU_VERSION:-2.0}
|
||||
restart: always
|
||||
env_file: mailu.env
|
||||
volumes:
|
||||
- "./webmail:/data"
|
||||
- "./overrides/roundcube:/overrides:ro"
|
||||
networks:
|
||||
- webmail
|
||||
depends_on:
|
||||
- front
|
||||
|
||||
networks:
|
||||
default:
|
||||
driver: bridge
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.25.25.0/24
|
||||
webmail:
|
||||
driver: bridge
|
||||
noinet:
|
||||
driver: bridge
|
||||
internal: true
|
174
compose/mailu/mailu.env
Normal file
174
compose/mailu/mailu.env
Normal file
@ -0,0 +1,174 @@
|
||||
# Mailu main configuration file
|
||||
#
|
||||
# This file is autogenerated by the configuration management wizard for compose flavor.
|
||||
# For a detailed list of configuration variables, see the documentation at
|
||||
# https://mailu.io
|
||||
|
||||
###################################
|
||||
# Common configuration variables
|
||||
###################################
|
||||
|
||||
# Set to a randomly generated 16 bytes string
|
||||
SECRET_KEY=$MAILU_SECRET_KEY
|
||||
|
||||
# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
|
||||
SUBNET=172.25.25.0/24
|
||||
|
||||
# Main mail domain
|
||||
DOMAIN=fruw.org
|
||||
|
||||
# Hostnames for this server, separated with comas
|
||||
HOSTNAMES=fruw.org,mail.fruw.org
|
||||
|
||||
# Postmaster local part (will append the main mail domain)
|
||||
POSTMASTER=admin
|
||||
|
||||
# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
|
||||
TLS_FLAVOR=mail
|
||||
TLS_CERT_FILENAME=fruw.org.crt
|
||||
TLS_KEYPAIR_FILENAME=fruw.org.key
|
||||
|
||||
# Authentication rate limit per IP (per /24 on ipv4 and /48 on ipv6)
|
||||
AUTH_RATELIMIT_IP=5/hour
|
||||
|
||||
# Authentication rate limit per user (regardless of the source-IP)
|
||||
AUTH_RATELIMIT_USER=50/day
|
||||
|
||||
# Opt-out of statistics, replace with "True" to opt out
|
||||
DISABLE_STATISTICS=False
|
||||
|
||||
###################################
|
||||
# Optional features
|
||||
###################################
|
||||
|
||||
# Expose the admin interface (value: true, false)
|
||||
ADMIN=true
|
||||
|
||||
# Choose which webmail to run if any (values: roundcube, snappymail, none)
|
||||
WEBMAIL=roundcube
|
||||
|
||||
# Expose the API interface (value: true, false)
|
||||
API=false
|
||||
|
||||
# Dav server implementation (value: radicale, none)
|
||||
WEBDAV=none
|
||||
|
||||
# Antivirus solution (value: clamav, none)
|
||||
ANTIVIRUS=none
|
||||
|
||||
# Scan Macros solution (value: true, false)
|
||||
SCAN_MACROS=true
|
||||
|
||||
###################################
|
||||
# Mail settings
|
||||
###################################
|
||||
|
||||
# Message size limit in bytes
|
||||
# Default: accept messages up to 50MB
|
||||
# Max attachment size will be 33% smaller
|
||||
MESSAGE_SIZE_LIMIT=50000000
|
||||
|
||||
# Message rate limit (per user)
|
||||
MESSAGE_RATELIMIT=200/day
|
||||
|
||||
# Networks granted relay permissions
|
||||
# Use this with care, all hosts in this networks will be able to send mail without authentication!
|
||||
RELAYNETS=
|
||||
|
||||
# Will relay all outgoing mails if configured
|
||||
RELAYHOST=
|
||||
|
||||
# Enable fetchmail
|
||||
FETCHMAIL_ENABLED=False
|
||||
|
||||
# Fetchmail delay
|
||||
FETCHMAIL_DELAY=600
|
||||
|
||||
# Recipient delimiter, character used to delimiter localpart from custom address part
|
||||
RECIPIENT_DELIMITER=+
|
||||
|
||||
# DMARC rua and ruf email
|
||||
DMARC_RUA=im
|
||||
DMARC_RUF=im
|
||||
|
||||
# Welcome email, enable and set a topic and body if you wish to send welcome
|
||||
# emails to all users.
|
||||
WELCOME=false
|
||||
WELCOME_SUBJECT=Welcome to your new email account
|
||||
WELCOME_BODY=Welcome to your new email account, if you can read this, then it is configured properly!
|
||||
|
||||
# Maildir Compression
|
||||
# choose compression-method, default: none (value: gz, bz2, zstd)
|
||||
COMPRESSION=
|
||||
# change compression-level, default: 6 (value: 1-9)
|
||||
COMPRESSION_LEVEL=
|
||||
|
||||
# IMAP full-text search is enabled by default. Set the following variable to off in order to disable the feature.
|
||||
# FULL_TEXT_SEARCH=off
|
||||
|
||||
###################################
|
||||
# Web settings
|
||||
###################################
|
||||
|
||||
# Path to redirect / to
|
||||
WEBROOT_REDIRECT=/webmail
|
||||
|
||||
# Path to the admin interface if enabled
|
||||
WEB_ADMIN=/admin
|
||||
|
||||
# Path to the webmail if enabled
|
||||
WEB_WEBMAIL=/webmail
|
||||
|
||||
# Path to the API interface if enabled
|
||||
WEB_API=
|
||||
|
||||
# Website name
|
||||
SITENAME=Mailu
|
||||
|
||||
# Linked Website URL
|
||||
WEBSITE=https://mail.fruw.org
|
||||
|
||||
###################################
|
||||
# Advanced settings
|
||||
###################################
|
||||
|
||||
# Docker-compose project name, this will prepended to containers names.
|
||||
COMPOSE_PROJECT_NAME=mailu
|
||||
|
||||
# Number of rounds used by the password hashing scheme
|
||||
CREDENTIAL_ROUNDS=12
|
||||
|
||||
# Header to take the real ip from
|
||||
REAL_IP_HEADER=
|
||||
|
||||
# IPs for nginx set_real_ip_from (CIDR list separated by commas)
|
||||
REAL_IP_FROM=
|
||||
|
||||
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
|
||||
REJECT_UNLISTED_RECIPIENT=
|
||||
|
||||
# Log level threshold in start.py (value: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET)
|
||||
LOG_LEVEL=WARNING
|
||||
|
||||
# Timezone for the Mailu containers. See this link for all possible values https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||
TZ=Etc/UTC
|
||||
|
||||
# Default spam threshold used for new users
|
||||
DEFAULT_SPAM_THRESHOLD=80
|
||||
|
||||
# API token required for authenticating to the RESTful API.
|
||||
# This is a mandatory setting for using the RESTful API.
|
||||
API_TOKEN=
|
||||
|
||||
###################################
|
||||
# Database settings
|
||||
###################################
|
||||
SQLALCHEMY_DATABASE_URI=postgresql://mailu:$MAILU_DB_PASSWORD@mail.fruw.org/mailu
|
||||
|
||||
###################################
|
||||
# Admin settings
|
||||
###################################
|
||||
INITIAL_ADMIN_ACCOUNT=im
|
||||
INITIAL_ADMIN_DOMAIN=fruw.org
|
||||
INITIAL_ADMIN_PW=$MAILU_ADMIN_PASSWORD
|
||||
INITIAL_ADMIN_MODE=ifmissing
|
13
compose/vaultwarden/docker-compose.yml
Normal file
13
compose/vaultwarden/docker-compose.yml
Normal file
@ -0,0 +1,13 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
vaultwarden:
|
||||
container_name: vaultwarden
|
||||
image: vaultwarden/server:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data/:/data/
|
||||
ports:
|
||||
- 127.0.0.1:50000:80
|
||||
env_file:
|
||||
- vaultwarden.env
|
4
compose/vaultwarden/vaultwarden.env
Normal file
4
compose/vaultwarden/vaultwarden.env
Normal file
@ -0,0 +1,4 @@
|
||||
DATABASE_URL=postgresql://vaultwarden:$VAULTWARDEN_DB_PASSWORD@vault.fruw.org/vaultwarden
|
||||
SIGNUPS_ALLOWED=false
|
||||
DOMAIN=https://vault.fruw.org
|
||||
ADMIN_TOKEN=$VAULTWARDEN_ADMIN_TOKEN
|
Reference in New Issue
Block a user