mirror of
https://codeberg.org/spire/dispenser.git
synced 2026-06-03 10:04:07 +02:00
disable seccomp to fix docker 29.4.2 compat
This commit is contained in:
parent
4e2602779c
commit
6c9b7244a9
1 changed files with 2 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ use std::sync::Arc;
|
||||||
use std::time::{Duration, Instant};
|
use std::time::{Duration, Instant};
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
use tokio::signal::ctrl_c;
|
use tokio::signal::ctrl_c;
|
||||||
use tokio::time::{sleep, timeout};
|
use tokio::time::sleep;
|
||||||
use tokio::{select, spawn};
|
use tokio::{select, spawn};
|
||||||
use tracing::{debug, error, info, instrument, warn};
|
use tracing::{debug, error, info, instrument, warn};
|
||||||
|
|
||||||
|
|
@ -105,6 +105,7 @@ async fn setup(
|
||||||
|
|
||||||
let cmnd = format!(
|
let cmnd = format!(
|
||||||
"docker run --name spire -d \
|
"docker run --name spire -d \
|
||||||
|
--security-opt seccomp=unconfined \
|
||||||
-e NAME={name} -e TV_NAME={tv_name} -e PASSWORD={password} -e RCON_PASSWORD={rcon} \
|
-e NAME={name} -e TV_NAME={tv_name} -e PASSWORD={password} -e RCON_PASSWORD={rcon} \
|
||||||
-e DEMOSTF_APIKEY={demostf} -e LOGSTF_APIKEY={logstf} \
|
-e DEMOSTF_APIKEY={demostf} -e LOGSTF_APIKEY={logstf} \
|
||||||
-e CONFIG_LEAGUE={league} -e CONFIG_MODE={mode} -e 'EXTRA_CFG={extra_cfg}' \
|
-e CONFIG_LEAGUE={league} -e CONFIG_MODE={mode} -e 'EXTRA_CFG={extra_cfg}' \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue