Mac mini server intial commit
This commit is contained in:
10
glances/.gitignore
vendored
Normal file
10
glances/.gitignore
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# Ignore sensitive data
|
||||
.env # Environment variables file (contains sensitive info)
|
||||
|
||||
# Ignore temporary or log files
|
||||
*.log # Log files
|
||||
*.bak # Backup files
|
||||
*.swp # Swap files (e.g., from text editors)
|
||||
|
||||
# Ignore any local overrides or extra Docker Compose files
|
||||
docker-compose.override.yml # Local override for docker-compose (optional)
|
||||
35
glances/README.md
Normal file
35
glances/README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# Glances Info
|
||||
|
||||
## Instructions:
|
||||
- Access WebUI on port 61208
|
||||
|
||||
## Contents:
|
||||
**`glances/`**
|
||||
├── **`docker-compose.yml`**
|
||||
├── **`.env`**
|
||||
├── **`.gitignore`**
|
||||
└── **`README.md`**
|
||||
|
||||
|
||||
## File Descrptions:
|
||||
- **`docker-compose.yml`**: Docker compose file
|
||||
- **`.env`**: Environment Variables
|
||||
- **`.gitignore`**: Git ignore file
|
||||
- **`README.md`**: Documentation
|
||||
|
||||
## Environmet Variables:
|
||||
- None
|
||||
|
||||
## Ignored Files:
|
||||
- **`.env`**: Environment Variables
|
||||
|
||||
## NPM Configurations
|
||||
- ```
|
||||
location /data/ {
|
||||
proxy_pass http://glances:61208/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
15
glances/docker-compose.yml
Normal file
15
glances/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
glances:
|
||||
image: nicolargo/glances:latest-full
|
||||
container_name: glances
|
||||
environment:
|
||||
- TZ=America/Detroit
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro
|
||||
pid: host
|
||||
privileged: true
|
||||
ports:
|
||||
- '61208:61208'
|
||||
restart: unless-stopped
|
||||
command: glances -w -B 0.0.0.0
|
||||
Reference in New Issue
Block a user