https://github.com/yashhere/homelab
https://github.com/yashhere/homelab
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yashhere/homelab
- Owner: yashhere
- Created: 2025-01-28T11:55:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-18T06:02:02.000Z (about 1 year ago)
- Last Synced: 2025-04-18T19:31:58.169Z (about 1 year ago)
- Language: Shell
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Services Management
## Available Services
- calibre
- couchdb
- hoarder
- miniflux
- monitoring/grafana
- monitoring/influxdb-v2
- npm (Nginx Proxy Manager)
- openwebui
- speedtest
## Setup
1. Create the proxy network:
```bash
docker network create proxy
```
2. Make sure all scripts are executable:
```bash
chmod +x setup.sh scripts/*.sh
```
## Usage
### Using Makefile (recommended)
```bash
# Start a service
make start SERVICE=
# Stop a service
make stop SERVICE=
# Restart a service
make restart SERVICE=
# Check service status
make status SERVICE=
# View service logs
make logs SERVICE=
# Backup a service
make backup SERVICE= BACKUP_DEST=/path/to/backup
```
### Using setup.sh directly
```bash
# Start a service
./setup.sh start
# Stop a service
./setup.sh stop
# Restart a service
./setup.sh restart
# Check service status
./setup.sh status
# View service logs
./setup.sh logs
# Backup a service
./setup.sh backup /path/to/backup
```
Examples:
```bash
# Start Grafana
./setup.sh monitoring/grafana start
# Stop Calibre
./setup.sh calibre stop
# View all available services
./setup.sh
```
## Backup
To backup all volumes:
```bash
./scripts/backup.sh /path/to/backup/destination
```
## Directory Structure
```
.
├── compose/ # Docker compose files
├── volumes/ # Docker volumes
├── configs/ # Configuration files
├── scripts/ # Management scripts
└── secrets/ # Secret files
```