This commit is contained in:
Mateleo 2024-11-22 12:37:27 +01:00
parent 9fa71e72cf
commit bcddfd279d
10 changed files with 2428 additions and 3 deletions

View File

@ -8,6 +8,7 @@ RUN dotnet restore "src/DiIiS-NA/Blizzless.csproj"
# Copy the rest of the project files and build the application
COPY ["src/", "src/"]
COPY ["db/", "db/"]
WORKDIR "/app/src/DiIiS-NA"
RUN dotnet publish "Blizzless.csproj" -c Release --runtime linux-x64 --self-contained true -o /app/publish

2423
db_old/initdb/dump.sql Normal file

File diff suppressed because it is too large Load Diff

View File

@ -16,6 +16,7 @@ services:
- POSTGRES_DB=diablo
volumes:
- db-data:/var/lib/postgresql/data
- ./db/initdb:/docker-entrypoint-initdb.d
volumes:
db-data:

View File

@ -11,7 +11,7 @@
; Enable or disable the Battle Server
Enabled = true
; IP address on which the server will be bound
BindIP = diiis-na-db
BindIP = 127.0.0.1
; Port for web interactions
WebPort = 83
; Port for the server

View File

@ -8,7 +8,7 @@
<property name="use_proxy_validator">true</property>
<property name="command_timeout">0</property>
<property name="connection.connection_string">
Server=localhost;Database=diiis;User ID=postgres;Password=password
Server=diiis-na-db;Database=diiis;User ID=postgres;Password=postgres
</property>
<property name="connection.release_mode">on_close</property>
<property name="adonet.batch_size">0</property>

View File

@ -7,7 +7,7 @@
<property name="use_proxy_validator">true</property>
<property name="command_timeout">0</property>
<property name="connection.connection_string">
Server=localhost;Database=worlds;User ID=postgres;Password=password
Server=diiis-na-db;Database=worlds;User ID=postgres;Password=postgres
</property>
<property name="connection.release_mode">on_close</property>
<property name="adonet.batch_size">0</property>