[*]
This commit is contained in:
@@ -13,14 +13,65 @@
|
||||
<artifactId>taoyao-server</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>服务</name>
|
||||
<description>启动服务</description>
|
||||
<name>taoyao-server</name>
|
||||
<description>服务:启动服务</description>
|
||||
|
||||
<properties>
|
||||
<system.maven.basedir>${project.parent.basedir}</system.maven.basedir>
|
||||
<system.maven.skip.assembly>false</system.maven.skip.assembly>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-live</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-client</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-signal</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-meeting</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-webrtc-sfu</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-webrtc-mcu</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.acgist</groupId>
|
||||
<artifactId>taoyao-webrtc-mesh</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springdoc</groupId>
|
||||
<artifactId>springdoc-openapi-ui</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>com.acgist.taoyao.TaoyaoApplication</mainClass>
|
||||
<addClasspath>true</addClasspath>
|
||||
<classpathPrefix>./</classpathPrefix>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -2,8 +2,12 @@ package com.acgist.taoyao;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
|
||||
@ComponentScan(basePackages = "com.acgist.taoyao")
|
||||
@SpringBootApplication
|
||||
@EnableAspectJAutoProxy(exposeProxy = true)
|
||||
public class TaoyaoApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
31
taoyao-server/src/main/resources/application.yml
Normal file
31
taoyao-server/src/main/resources/application.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
server:
|
||||
port: 8888
|
||||
ssl:
|
||||
key-alias: taoyao
|
||||
key-store: classpath:taoyao.jks
|
||||
key-store-password: 123456
|
||||
key-password: 123456
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
application:
|
||||
name: taoyao-server
|
||||
jackson:
|
||||
time-zone: GMT+8
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 256MB
|
||||
max-request-size: 256MB
|
||||
taoyao:
|
||||
url: https://gitee.com/acgist/taoyao
|
||||
name: 桃夭
|
||||
timeout: 5000
|
||||
version: 1.0.0
|
||||
description: WebRTC信令服务
|
||||
security:
|
||||
realm: taoyao
|
||||
permit: /v3/api-docs/,/swagger-ui/,/error
|
||||
username:
|
||||
password:
|
||||
scheduled:
|
||||
session: 0 * * * * ?
|
||||
10
taoyao-server/src/main/resources/static/client.html
Normal file
10
taoyao-server/src/main/resources/static/client.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>终端</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
10
taoyao-server/src/main/resources/static/index.html
Normal file
10
taoyao-server/src/main/resources/static/index.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>桃夭</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
10
taoyao-server/src/main/resources/static/room.html
Normal file
10
taoyao-server/src/main/resources/static/room.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>房间</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
BIN
taoyao-server/src/main/resources/taoyao.jks
Normal file
BIN
taoyao-server/src/main/resources/taoyao.jks
Normal file
Binary file not shown.
Reference in New Issue
Block a user