[FEATURE] Extra Port implimentation
This commit is contained in:
parent
2884709bb1
commit
6270c5e421
8 changed files with 82 additions and 20 deletions
|
@ -16,6 +16,7 @@ export async function createServerEntry(serverSpec) {
|
|||
version,
|
||||
serverType: server_type,
|
||||
memory,
|
||||
extraPorts: extra_ports,
|
||||
backupHost: backup_host,
|
||||
backupBucket: backup_bucket_path,
|
||||
backupId: backup_id,
|
||||
|
@ -28,6 +29,7 @@ export async function createServerEntry(serverSpec) {
|
|||
version,
|
||||
server_type,
|
||||
memory,
|
||||
extra_ports,
|
||||
backup_enabled: !!backup_interval, // We already verified the payload, so any backup key will work
|
||||
backup_host,
|
||||
backup_bucket_path,
|
||||
|
@ -45,6 +47,7 @@ export async function createServerEntry(serverSpec) {
|
|||
version,
|
||||
server_type: serverType,
|
||||
memory,
|
||||
extra_ports: extraPorts,
|
||||
backup_enabled: backupEnabled,
|
||||
backup_host: backupHost,
|
||||
backup_bucket_path: backupPath,
|
||||
|
@ -61,6 +64,7 @@ export async function createServerEntry(serverSpec) {
|
|||
version,
|
||||
serverType,
|
||||
memory,
|
||||
extraPorts,
|
||||
backupEnabled,
|
||||
backupHost,
|
||||
backupPath,
|
||||
|
@ -94,6 +98,7 @@ export async function getServerEntry(serverId) {
|
|||
version,
|
||||
server_type: serverType,
|
||||
memory,
|
||||
extra_ports,
|
||||
backup_enabled: backupEnabled,
|
||||
backup_host: backupHost,
|
||||
backup_bucket_path: backupPath,
|
||||
|
@ -110,6 +115,7 @@ export async function getServerEntry(serverId) {
|
|||
version,
|
||||
serverType,
|
||||
memory,
|
||||
extraPorts,
|
||||
backupEnabled,
|
||||
backupHost,
|
||||
backupPath,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue