From 7b7e4e2d31ffbda2dec82bf7c234db78117e4cb2 Mon Sep 17 00:00:00 2001 From: Moonbase Date: Thu, 3 Sep 2026 10:56:14 -0700 Subject: [PATCH] Add New Docker Compose File --- docker-compose.dcproj | 15 +++++++++++++++ docker-compose.yml | 16 ++-------------- sodoff-mmo.sln | 16 +++++++++++----- src/sodoffmmo.csproj | 2 ++ 4 files changed, 30 insertions(+), 19 deletions(-) create mode 100644 docker-compose.dcproj diff --git a/docker-compose.dcproj b/docker-compose.dcproj new file mode 100644 index 0000000..c58b109 --- /dev/null +++ b/docker-compose.dcproj @@ -0,0 +1,15 @@ + + + + 2.1 + Linux + 81dded9d-158b-e303-5f62-77a2896d2a5a + + + + docker-compose.yml + + + + + \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 79bf549..51dcb97 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,21 +1,9 @@ -version: '3.8' services: sodoffmmo: + image: ${DOCKER_REGISTRY-}sodoffmmo build: context: . dockerfile: src/Dockerfile ports: - "9933:9933" - networks: - - sodoff_network - -networks: - sodoff_network: - name: sodoff_network - # bellow network configuration should be put in at least one file - # - but it may be in many or all - # - without it it will work like `external: true` - driver: bridge - ipam: - config: - - subnet: "172.16.99.0/24" + restart: unless-stopped \ No newline at end of file diff --git a/sodoff-mmo.sln b/sodoff-mmo.sln index f56f5a4..d1ce889 100644 --- a/sodoff-mmo.sln +++ b/sodoff-mmo.sln @@ -1,22 +1,28 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31903.59 +# Visual Studio Version 18 +VisualStudioVersion = 18.9.12120.119 stable MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sodoffmmo", "src\sodoffmmo.csproj", "{049E36E9-29EC-4A15-96A5-99A049BD2F83}" EndProject +Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{81DDED9D-158B-E303-5F62-77A2896D2A5A}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {049E36E9-29EC-4A15-96A5-99A049BD2F83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {049E36E9-29EC-4A15-96A5-99A049BD2F83}.Debug|Any CPU.Build.0 = Debug|Any CPU {049E36E9-29EC-4A15-96A5-99A049BD2F83}.Release|Any CPU.ActiveCfg = Release|Any CPU {049E36E9-29EC-4A15-96A5-99A049BD2F83}.Release|Any CPU.Build.0 = Release|Any CPU + {81DDED9D-158B-E303-5F62-77A2896D2A5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {81DDED9D-158B-E303-5F62-77A2896D2A5A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {81DDED9D-158B-E303-5F62-77A2896D2A5A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {81DDED9D-158B-E303-5F62-77A2896D2A5A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection EndGlobal diff --git a/src/sodoffmmo.csproj b/src/sodoffmmo.csproj index 74b566a..6ed75a8 100644 --- a/src/sodoffmmo.csproj +++ b/src/sodoffmmo.csproj @@ -5,12 +5,14 @@ net10.0 enable enable + Linux +