Skip to content

Commit

Permalink
downgrade compose version, add docs on compose version and set proper…
Browse files Browse the repository at this point in the history
… dll paths relative to Master for StandardScripts and Instance
  • Loading branch information
Mick Vermeulen authored and Mick Vermeulen committed Sep 16, 2020
1 parent 6489675 commit aabced3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Docker setup for running the Uchu Lego Universe server
## Requirements

- Docker
- Docker Compose
- Docker Compose (a version that supports at least docker-compose v3.3 files)
- [LU unpacked client](https://docs.google.com/document/d/1XmHXWuUQqzUIOcv6SVVjaNBm4bFg9lnW4Pk1pllimEg/edit) with [LCDRs TcpUdp mod](https://github.com/lcdr/raknet_shim_dll/releases/tag/2020-09-03)

## Setup
Expand All @@ -14,19 +14,23 @@ Clone the repository recursively, so that the Uchu source is also pulled:

```bash
# If you prefer to use HTTPS (default)
git clone https://github.com/yuwui/Uchu --recursive -b master
git clone https://github.com/MickVermeulen/UchuDocker.git --recursive -b master

# If you prefer to use SSH
git clone [email protected]:yuwui/Uchu.git --recursive -b master
git clone [email protected]:MickVermeulen/UchuDocker.git --recursive -b master
```

Copy the `.env.sample` file to `.env`:

```bash
# On Linux, MacOS and Powershell
cp .env.sample .env

# On Windows CMD
copy .env.sample .env
```

Set the `GAME_FOLDER` variable in the `.env` file to the absolute path to the `/res` folder in your unpacked `LU` game folder.
Set the `GAME_FOLDER` variable in the `.env` file to the absolute path to the `/res` folder in your unpacked `LU` game folder using a text editor of your choice.

## Running

Expand Down
4 changes: 2 additions & 2 deletions config.default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
</FileLogging>
<DllSource>
<DotNetPath>dotnet</DotNetPath>
<Instance>Uchu.Instance/bin/Debug/netcoreapp3.1/Uchu.Instance.dll</Instance>
<ScriptDllSource>Uchu.StandardScripts</ScriptDllSource>
<Instance>../../../../Uchu.Instance/bin/Debug/netcoreapp3.1/Uchu.Instance.dll</Instance>
<ScriptDllSource>../../../../Uchu.StandardScripts/bin/Debug/netcoreapp3.1/Uchu.StandardScripts.dll</ScriptDllSource>
</DllSource>
<ManagedScriptSources />
<ResourcesConfiguration>
Expand Down
6 changes: 1 addition & 5 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
version: "3.8"
version: "3.3"
services:
db:
image: postgres:12.2-alpine
env_file:
- .env
restart: always
ports:
- ${DATABASE_PORT}:5432
volumes:
- ${DATA_FOLDER}:/var/lib/postgresql/data
adminer:
Expand All @@ -21,8 +19,6 @@ services:
env_file:
- .env
restart: always
ports:
- ${REDIS_PORT}:6379
volumes:
- ${DATA_FOLDER}:/data
uchu:
Expand Down

0 comments on commit aabced3

Please sign in to comment.