Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CoreX-wg-easy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hendrik Garske
CoreX-wg-easy
Commits
bb701dd2
Commit
bb701dd2
authored
Dec 27, 2025
by
Hendrik Garske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config: Server-URL und Passwort als Standardwerte konfiguriert
parent
037d854d
Pipeline
#27
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
12 deletions
+10
-12
.gitignore
.gitignore
+1
-1
README.md
README.md
+7
-9
wg-api.ts
lib/wg-api.ts
+2
-2
No files found.
.gitignore
View file @
bb701dd2
...
@@ -31,9 +31,9 @@ yarn-error.log*
...
@@ -31,9 +31,9 @@ yarn-error.log*
.pnpm-debug.log*
.pnpm-debug.log*
# env files (can opt-in for committing if needed)
# env files (can opt-in for committing if needed)
.env*
.env.local
.env.local
.env*.local
.env*.local
!env.example
# vercel
# vercel
.vercel
.vercel
...
...
README.md
View file @
bb701dd2
...
@@ -76,18 +76,16 @@ docker run -d \
...
@@ -76,18 +76,16 @@ docker run -d \
weejewel/wg-easy
weejewel/wg-easy
```
```
### 4. Umgebungsvariablen konfigurieren
(Optional)
### 4. Umgebungsvariablen konfigurieren
E
rstellen Sie eine
`.env.local`
Datei:
E
ine
`.env.local`
Datei ist bereits vorhanden mit den Standardwerten.
```
env
**Aktuelle Konfiguration:**
WG_API_URL=http://localhost:51821
-
`WG_API_URL`
:
`https://corex-wg-easy.corexmanagement.de`
WG_PASSWORD=YOUR_PASSWORD
-
`WG_PASSWORD`
: Automatisch generiert (in .env.local)
```
**Standardwerte:**
**Für lokale Entwicklung:**
-
`WG_API_URL`
:
`http://localhost:51821`
Sie können die
`.env.local`
Datei bearbeiten, um andere Werte zu verwenden.
-
`WG_PASSWORD`
: leer (falls kein Passwort gesetzt)
### 5. Development Server starten
### 5. Development Server starten
...
...
lib/wg-api.ts
View file @
bb701dd2
// WireGuard Easy API Client
// WireGuard Easy API Client
const
WG_API_URL
=
process
.
env
.
WG_API_URL
||
'http
://localhost:51821
'
const
WG_API_URL
=
process
.
env
.
WG_API_URL
||
'http
s://corex-wg-easy.corexmanagement.de
'
const
WG_PASSWORD
=
process
.
env
.
WG_PASSWORD
||
''
const
WG_PASSWORD
=
process
.
env
.
WG_PASSWORD
||
'
CoreX2024!Secure#VPN
'
interface
WgClient
{
interface
WgClient
{
id
:
string
id
:
string
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment