mirror of
https://github.com/andrey271192/amnezia_web.git
synced 2026-09-20 14:41:59 +00:00
fix: default awg container name
This commit is contained in:
@@ -1047,7 +1047,7 @@ function renderWarpPanel(data) {
|
|||||||
const hint = document.createElement("p");
|
const hint = document.createElement("p");
|
||||||
hint.className = "muted warp-muted";
|
hint.className = "muted warp-muted";
|
||||||
hint.innerHTML =
|
hint.innerHTML =
|
||||||
"Вручную на хосте (root), из каталога репозитория: <code class=\"inline\">bash scripts/warp-amnezia.sh install</code> или с именем контейнера: <code class=\"inline\">bash scripts/warp-amnezia.sh install amnezia-awg2</code>.";
|
"Вручную на хосте (root), из каталога репозитория: <code class=\"inline\">bash scripts/warp-amnezia.sh install</code> или с именем контейнера: <code class=\"inline\">bash scripts/warp-amnezia.sh install amnezia-awg</code>.";
|
||||||
warpActionsEl.appendChild(hint);
|
warpActionsEl.appendChild(hint);
|
||||||
|
|
||||||
if (!w.hostSshInstall) {
|
if (!w.hostSshInstall) {
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ docker build "${DOCKER_BUILD_EXTRA[@]}" -t amnezia-admin:latest "${INSTALL_DIR}"
|
|||||||
docker rm -f "${CONTAINER_NAME}" 2>/dev/null || true
|
docker rm -f "${CONTAINER_NAME}" 2>/dev/null || true
|
||||||
|
|
||||||
RUN_ENV=(
|
RUN_ENV=(
|
||||||
-e AWG_CONTAINER="${AWG_CONTAINER:-amnezia-awg2}"
|
-e AWG_CONTAINER="${AWG_CONTAINER:-amnezia-awg}"
|
||||||
)
|
)
|
||||||
|
|
||||||
if [[ -n "${AWG_PROFILES:-}" ]]; then
|
if [[ -n "${AWG_PROFILES:-}" ]]; then
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ function parseProfilesFromEnv() {
|
|||||||
{
|
{
|
||||||
id: "awg",
|
id: "awg",
|
||||||
label: process.env.AWG_PROFILE_LABEL || "AmneziaWG",
|
label: process.env.AWG_PROFILE_LABEL || "AmneziaWG",
|
||||||
container: process.env.AWG_CONTAINER || "amnezia-awg2",
|
container: process.env.AWG_CONTAINER || "amnezia-awg",
|
||||||
confPath: process.env.AWG_CONF_PATH || "/opt/amnezia/awg/awg0.conf",
|
confPath: process.env.AWG_CONF_PATH || "/opt/amnezia/awg/awg0.conf",
|
||||||
clientsPath: process.env.AWG_CLIENTS_PATH || "/opt/amnezia/awg/clientsTable",
|
clientsPath: process.env.AWG_CLIENTS_PATH || "/opt/amnezia/awg/clientsTable",
|
||||||
iface: process.env.AWG_IFACE || "awg0",
|
iface: process.env.AWG_IFACE || "awg0",
|
||||||
|
|||||||
Reference in New Issue
Block a user