This commit is contained in:
bvn13 2024-12-01 22:59:59 +03:00
parent bcfbf16ac1
commit 07aca2f990
8 changed files with 114 additions and 12 deletions

3
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -0,0 +1,58 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredPackages">
<value>
<list size="45">
<item index="0" class="java.lang.String" itemvalue="httpx" />
<item index="1" class="java.lang.String" itemvalue="joblib" />
<item index="2" class="java.lang.String" itemvalue="threadpoolctl" />
<item index="3" class="java.lang.String" itemvalue="scikit-learn" />
<item index="4" class="java.lang.String" itemvalue="nltk" />
<item index="5" class="java.lang.String" itemvalue="pluggy" />
<item index="6" class="java.lang.String" itemvalue="python-dateutil" />
<item index="7" class="java.lang.String" itemvalue="h11" />
<item index="8" class="java.lang.String" itemvalue="h2" />
<item index="9" class="java.lang.String" itemvalue="numpy" />
<item index="10" class="java.lang.String" itemvalue="requests" />
<item index="11" class="java.lang.String" itemvalue="rfc3986" />
<item index="12" class="java.lang.String" itemvalue="sniffio" />
<item index="13" class="java.lang.String" itemvalue="nvidia-nccl-cu12" />
<item index="14" class="java.lang.String" itemvalue="typeguard" />
<item index="15" class="java.lang.String" itemvalue="spam-detector-ai" />
<item index="16" class="java.lang.String" itemvalue="scheduler" />
<item index="17" class="java.lang.String" itemvalue="exceptiongroup" />
<item index="18" class="java.lang.String" itemvalue="certifi" />
<item index="19" class="java.lang.String" itemvalue="urllib3" />
<item index="20" class="java.lang.String" itemvalue="xgboost" />
<item index="21" class="java.lang.String" itemvalue="scipy" />
<item index="22" class="java.lang.String" itemvalue="hyperframe" />
<item index="23" class="java.lang.String" itemvalue="six" />
<item index="24" class="java.lang.String" itemvalue="tornado" />
<item index="25" class="java.lang.String" itemvalue="pytest" />
<item index="26" class="java.lang.String" itemvalue="iniconfig" />
<item index="27" class="java.lang.String" itemvalue="tzdata" />
<item index="28" class="java.lang.String" itemvalue="packaging" />
<item index="29" class="java.lang.String" itemvalue="typing-extensions" />
<item index="30" class="java.lang.String" itemvalue="hstspreload" />
<item index="31" class="java.lang.String" itemvalue="hpack" />
<item index="32" class="java.lang.String" itemvalue="click" />
<item index="33" class="java.lang.String" itemvalue="chardet" />
<item index="34" class="java.lang.String" itemvalue="pandas" />
<item index="35" class="java.lang.String" itemvalue="tqdm" />
<item index="36" class="java.lang.String" itemvalue="regex" />
<item index="37" class="java.lang.String" itemvalue="asyncio" />
<item index="38" class="java.lang.String" itemvalue="charset-normalizer" />
<item index="39" class="java.lang.String" itemvalue="imblearn" />
<item index="40" class="java.lang.String" itemvalue="pytz" />
<item index="41" class="java.lang.String" itemvalue="googletrans" />
<item index="42" class="java.lang.String" itemvalue="imbalanced-learn" />
<item index="43" class="java.lang.String" itemvalue="httpcore" />
<item index="44" class="java.lang.String" itemvalue="idna" />
</list>
</value>
</option>
</inspection_tool>
</profile>
</component>

View File

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

7
.idea/misc.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Black">
<option name="sdkName" value="Poetry (git-pusher)" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Poetry (git-pusher)" project-jdk-type="Python SDK" />
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/bvn13-minetest-server.iml" filepath="$PROJECT_DIR$/.idea/bvn13-minetest-server.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@ -1,15 +1,21 @@
services: services:
# https://claytonerrington.com/blog/dockerize-luanti/
minetest-server: minetest-server:
image: lscr.io/linuxserver/minetest:latest image: lscr.io/linuxserver/minetest:latest
container_name: minetest-server container_name: minetest-server
deploy:
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 3
window: 120s
update_config:
parallelism: 2
environment: environment:
- PUID=1000 PUID: '1000'
- PGID=1000 TZ: Europe/Moscow
- TZ=Europe/Moscow PGID: '1000'
- CLI_ARGS=--gameid minetest --port 30000 CLI_ARGS: '--gameid minetest --port 30000'
volumes:
- ~/minetest/:/config/.minetest
ports: ports:
- 30000:30000/udp - 30000:30000/udp
restart: unless-stopped volumes:
- ${DATA}:/config/.minetest/