Comments (3)
I had some issues with my docker-compose.yml file, I created a new one as below.
version: '3.5'
services:
headscale:
image: headscale/headscale:latest
volumes:
- ./config:/etc/headscale/
- ./data:/var/lib/headscale
ports:
- " your port ":8080
command: headscale serve
restart: unless-stopped
headscale-webui:
image: ghcr.io/ifargle/headscale-webui:latest
container_name: headscale-webui
environment:
- TZ=" your timezone "
- COLOR=red # Use the base colors (ie, no darken-3, etc) -
- HS_SERVER=http://"IP:Port" # Reachable endpoint for your Headscale server
- DOMAIN_NAME=http://"IP:Port" # The base domain name for this container.
- SCRIPT_NAME=/admin # This is your applications base path (wsgi requires the name "SCRIPT_NAME"). Remove if you are hosing at the root /
- KEY=" The generated key" # Generate with "openssl rand -base64 32" - used to encrypt your key on disk.
- AUTH_TYPE=basic # AUTH_TYPE is either Basic or OIDC. Empty for no authentication
- LOG_LEVEL=info # Log level. "DEBUG", "ERROR", "WARNING", or "INFO". Default "INFO"
# ENV for Basic Auth (Used only if AUTH_TYPE is "Basic"). Can be omitted if you aren't using Basic Auth
- BASIC_AUTH_USER="Username for Webui" # Used for basic auth
- BASIC_AUTH_PASS="Password" # Used for basic auth
# ENV for OIDC (Used only if AUTH_TYPE is "OIDC"). Can be omitted if you aren't using OIDC
#- OIDC_AUTH_URL=https://auth.$DOMAIN/.well-known/openid-configuration # URL for your OIDC issuer's well-known endpoint
#- OIDC_CLIENT_ID=headscale-webui # Your OIDC Issuer's Client ID for Headscale-WebUI
#- OIDC_CLIENT_SECRET=YourSecretHere # Your OIDC Issuer's Secret Key for Headscale-WebUI
ports:
- "port":5000
volumes:
- ./volume:/data # Headscale-WebUI's storage. Make sure ./volume is readable by UID 1000 (chown 1000:1000 ./volume)
- ./config/:/etc/headscale/:ro # Headscale's config storage location. Used to read your Headscale config.
restart: unless-stopped
from headscale-webui.
problem solved
from headscale-webui.
How did you solve it?
from headscale-webui.
Related Issues (20)
- Historic values from routing list are still clickable
- Exception when opening pages that loads preauthkeys from Headscale HOT 3
- Assigning Tags in webui does not apply
- OIDC KeyCloak => can't logout
- Incorrect terminal display
- OIDC return http not https address HOT 1
- OIDC server does not support profile
- Stuck on "Loading basic auth libraries and configuring app" HOT 3
- Rename Machine to Node
- Documentation question HOT 1
- docker running error:SSL: CERTIFICATE_VERIFY_FAILED
- Could you setup a way to sponsor this project?
- Gunicorn Worker Timeout HOT 2
- Problems with HAproxy reverse
- Bare Metal install fails on ubuntu 22.04 HOT 1
- SSL/TLS
- API calls to /machine are deprecated; use /node HOT 2
- Support configuration of SSH ACLs
- New user is not cleared after adding
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headscale-webui.