add dockerfile

add make commands for building and running using docker

remove localhost on server address so it's not locked
This commit is contained in:
Robin Olsen
2026-02-18 14:12:37 +01:00
parent de239254e5
commit ffa32ebd3a
5 changed files with 21 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ func initializeServices(ctx context.Context) (*service.Services, func(), error)
IssuePrefix: "pm",
BeadsDBPath: "./.pm/db.db",
StatisticsStoragePath: "./.pm/stats.json",
WebAddress: "localhost:8080",
WebAddress: ":8080",
}
return service.NewServices(ctx, config)
}

View File

@@ -27,7 +27,7 @@ func createIssueConfig() task.TaskConfig {
IssuePrefix: "pm",
BeadsDBPath: "./.pm/db.db",
StatisticsStoragePath: "./.pm/task-1-stats.json",
WebAddress: "localhost:8080",
WebAddress: ":8080",
}
}