Skip to content

Commit eaf46e9

Browse files
committed
Merge branch 'OpenIdDict' of https://github.com/Lan2Play/NetEvent into OpenIdDict
2 parents af4b0fa + 3d6f6a0 commit eaf46e9

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ LABEL org.opencontainers.image.authors="Alexander@volzit.de"
3030

3131
#dotnet config
3232
ENV ASPNETCORE_URLS="http://+:5000"
33-
ENV DATADIR="/data"
33+
ENV ConnectionStrings__DefaultConnection="Data Source=/data/netevent.db"
3434

3535
#User creation
3636
RUN groupadd -g 1010 -r NetEvent && useradd --create-home --no-log-init -u 1010 -r -g NetEvent NetEvent

NetEvent/Server/appsettings.Development.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"ConnectionStrings": {
3+
"DefaultConnection": "Data Source=netevent.db"
4+
},
25
"Logging": {
36
"LogLevel": {
47
"Default": "Debug",

NetEvent/Server/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"ConnectionStrings": {
3-
"DefaultConnection": "Data Source=netevent.db"
3+
"DefaultConnection": "Data Source=/data/netevent.db"
44
},
55
"Logging": {
66
"LogLevel": {

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ services:
44
image: lan2play/netevent
55
ports:
66
- '5000:5000/tcp'
7+
environment:
8+
ASPNETCORE_URLS: 'http://+:5000'
9+
ConnectionStrings__DefaultConnection: 'Data Source=/data/netevent.db'
710
volumes:
811
- data:/data
912

0 commit comments

Comments
 (0)