initdb
This commit is contained in:
parent
9fa71e72cf
commit
bcddfd279d
@ -8,6 +8,7 @@ RUN dotnet restore "src/DiIiS-NA/Blizzless.csproj"
|
|||||||
|
|
||||||
# Copy the rest of the project files and build the application
|
# Copy the rest of the project files and build the application
|
||||||
COPY ["src/", "src/"]
|
COPY ["src/", "src/"]
|
||||||
|
COPY ["db/", "db/"]
|
||||||
WORKDIR "/app/src/DiIiS-NA"
|
WORKDIR "/app/src/DiIiS-NA"
|
||||||
RUN dotnet publish "Blizzless.csproj" -c Release --runtime linux-x64 --self-contained true -o /app/publish
|
RUN dotnet publish "Blizzless.csproj" -c Release --runtime linux-x64 --self-contained true -o /app/publish
|
||||||
|
|
||||||
|
|||||||
2423
db_old/initdb/dump.sql
Normal file
2423
db_old/initdb/dump.sql
Normal file
File diff suppressed because it is too large
Load Diff
@ -16,6 +16,7 @@ services:
|
|||||||
- POSTGRES_DB=diablo
|
- POSTGRES_DB=diablo
|
||||||
volumes:
|
volumes:
|
||||||
- db-data:/var/lib/postgresql/data
|
- db-data:/var/lib/postgresql/data
|
||||||
|
- ./db/initdb:/docker-entrypoint-initdb.d
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
db-data:
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
; Enable or disable the Battle Server
|
; Enable or disable the Battle Server
|
||||||
Enabled = true
|
Enabled = true
|
||||||
; IP address on which the server will be bound
|
; IP address on which the server will be bound
|
||||||
BindIP = diiis-na-db
|
BindIP = 127.0.0.1
|
||||||
; Port for web interactions
|
; Port for web interactions
|
||||||
WebPort = 83
|
WebPort = 83
|
||||||
; Port for the server
|
; Port for the server
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
<property name="use_proxy_validator">true</property>
|
<property name="use_proxy_validator">true</property>
|
||||||
<property name="command_timeout">0</property>
|
<property name="command_timeout">0</property>
|
||||||
<property name="connection.connection_string">
|
<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>
|
||||||
<property name="connection.release_mode">on_close</property>
|
<property name="connection.release_mode">on_close</property>
|
||||||
<property name="adonet.batch_size">0</property>
|
<property name="adonet.batch_size">0</property>
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
<property name="use_proxy_validator">true</property>
|
<property name="use_proxy_validator">true</property>
|
||||||
<property name="command_timeout">0</property>
|
<property name="command_timeout">0</property>
|
||||||
<property name="connection.connection_string">
|
<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>
|
||||||
<property name="connection.release_mode">on_close</property>
|
<property name="connection.release_mode">on_close</property>
|
||||||
<property name="adonet.batch_size">0</property>
|
<property name="adonet.batch_size">0</property>
|
||||||
|
|||||||
Loading…
Reference in New Issue
user.block.title