From 07aca2f9907d8e0ac4af5c9f8ef2e6ea8e70fb5c Mon Sep 17 00:00:00 2001 From: bvn13 Date: Sun, 1 Dec 2024 22:59:59 +0300 Subject: [PATCH] 1 --- .idea/.gitignore | 3 + .idea/bvn13-minetest-server.iml | 8 +++ .idea/inspectionProfiles/Project_Default.xml | 58 +++++++++++++++++++ .../inspectionProfiles/profiles_settings.xml | 6 ++ .idea/misc.xml | 7 +++ .idea/modules.xml | 8 +++ .idea/vcs.xml | 6 ++ docker-compose.yaml | 30 ++++++---- 8 files changed, 114 insertions(+), 12 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/bvn13-minetest-server.iml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/bvn13-minetest-server.iml b/.idea/bvn13-minetest-server.iml new file mode 100644 index 0000000..d0876a7 --- /dev/null +++ b/.idea/bvn13-minetest-server.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..b2002e5 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,58 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..0b790a6 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..f569b0f --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 8c8a76d..83f8b5f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,15 +1,21 @@ services: - # https://claytonerrington.com/blog/dockerize-luanti/ - minetest-server: - image: lscr.io/linuxserver/minetest:latest - container_name: minetest-server + minetest-server: + image: lscr.io/linuxserver/minetest:latest + container_name: minetest-server + deploy: + restart_policy: + condition: on-failure + delay: 5s + max_attempts: 3 + window: 120s + update_config: + parallelism: 2 environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/Moscow - - CLI_ARGS=--gameid minetest --port 30000 - volumes: - - ~/minetest/:/config/.minetest + PUID: '1000' + TZ: Europe/Moscow + PGID: '1000' + CLI_ARGS: '--gameid minetest --port 30000' ports: - - 30000:30000/udp - restart: unless-stopped + - 30000:30000/udp + volumes: + - ${DATA}:/config/.minetest/