Files
homelab-optimized/docs/services/individual/documenso.md
Gitea Mirror Bot fb00a325d1
Some checks failed
Documentation / Build Docusaurus (push) Failing after 5m14s
Documentation / Deploy to GitHub Pages (push) Has been skipped
Sanitized mirror from private repository - 2026-04-18 11:19:59 UTC
2026-04-18 11:19:59 +00:00

223 lines
6.7 KiB
Markdown

# Documenso
**🟡 Other Service**
## 📋 Service Overview
| Property | Value |
|----------|-------|
| **Service Name** | documenso |
| **Host** | Atlantis |
| **Category** | Other |
| **Difficulty** | 🟡 |
| **Docker Image** | `documenso/documenso:latest` |
| **Compose File** | `Atlantis/documenso/documenso.yaml` |
| **Directory** | `Atlantis/documenso` |
## 🎯 Purpose
documenso is a specialized service that provides specific functionality for the homelab infrastructure.
## 🚀 Quick Start
### Prerequisites
- Docker and Docker Compose installed
- Basic understanding of REDACTED_APP_PASSWORD
- Access to the host system (Atlantis)
### Deployment
```bash
# Navigate to service directory
cd Atlantis/documenso
# Start the service
docker-compose up -d
# Check service status
docker-compose ps
# View logs
docker-compose logs -f documenso
```
## 🔧 Configuration
### Docker Compose Configuration
```yaml
container_name: Documenso
depends_on:
db:
condition: service_healthy
environment:
- PORT=3000
- NEXTAUTH_SECRET=REDACTED_NEXTAUTH_SECRET
- NEXT_PRIVATE_ENCRYPTION_KEY=REDACTED_ENCRYPTION_KEY
- NEXT_PRIVATE_ENCRYPTION_SECONDARY_KEY=REDACTED_ENCRYPTION_KEY
- NEXTAUTH_URL=https://documenso.thevish.io
- NEXT_PUBLIC_WEBAPP_URL=https://documenso.thevish.io
- NEXT_PRIVATE_INTERNAL_WEBAPP_URL=http://documenso:3000
- NEXT_PUBLIC_MARKETING_URL=https://documenso.thevish.io
- NEXT_PRIVATE_DATABASE_URL=postgres://documensouser:documensopass@documenso-db:5432/documenso
- NEXT_PRIVATE_DIRECT_DATABASE_URL=postgres://documensouser:documensopass@documenso-db:5432/documenso
- NEXT_PUBLIC_UPLOAD_TRANSPORT=database
- NEXT_PRIVATE_SMTP_TRANSPORT=smtp-auth
- NEXT_PRIVATE_SMTP_HOST=smtp.gmail.com
- NEXT_PRIVATE_SMTP_PORT=587
- NEXT_PRIVATE_SMTP_USERNAME=your-email@example.com
- NEXT_PRIVATE_SMTP_PASSWORD="REDACTED_PASSWORD"
- NEXT_PRIVATE_SMTP_SECURE=false
- NEXT_PRIVATE_SMTP_FROM_NAME=Vish
- NEXT_PRIVATE_SMTP_FROM_ADDRESS=your-email@example.com
- NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATH=/opt/documenso/cert.p12
image: documenso/documenso:latest
ports:
- 3513:3000
volumes:
- /volume1/docker/documenso/data:/opt/documenso:rw
```
### Environment Variables
| Variable | Value | Description |
|----------|-------|-------------|
| `PORT` | `3000` | Configuration variable |
| `NEXTAUTH_SECRET` | `***MASKED***` | Configuration variable |
| `NEXT_PRIVATE_ENCRYPTION_KEY` | `***MASKED***` | Configuration variable |
| `NEXT_PRIVATE_ENCRYPTION_SECONDARY_KEY` | `***MASKED***` | Configuration variable |
| `NEXTAUTH_URL` | `https://documenso.thevish.io` | Configuration variable |
| `NEXT_PUBLIC_WEBAPP_URL` | `https://documenso.thevish.io` | Configuration variable |
| `NEXT_PRIVATE_INTERNAL_WEBAPP_URL` | `http://documenso:3000` | Configuration variable |
| `NEXT_PUBLIC_MARKETING_URL` | `https://documenso.thevish.io` | Configuration variable |
| `NEXT_PRIVATE_DATABASE_URL` | `postgres://documensouser:documensopass@documenso-db:5432/documenso` | Database connection string |
| `NEXT_PRIVATE_DIRECT_DATABASE_URL` | `postgres://documensouser:documensopass@documenso-db:5432/documenso` | Database connection string |
| `NEXT_PUBLIC_UPLOAD_TRANSPORT` | `database` | Configuration variable |
| `NEXT_PRIVATE_SMTP_TRANSPORT` | `smtp-auth` | Configuration variable |
| `NEXT_PRIVATE_SMTP_HOST` | `smtp.gmail.com` | Configuration variable |
| `NEXT_PRIVATE_SMTP_PORT` | `587` | Configuration variable |
| `NEXT_PRIVATE_SMTP_USERNAME` | `your-email@example.com` | Configuration variable |
| `NEXT_PRIVATE_SMTP_PASSWORD` | `***MASKED***` | Configuration variable |
| `NEXT_PRIVATE_SMTP_SECURE` | `false` | Configuration variable |
| `NEXT_PRIVATE_SMTP_FROM_NAME` | `Vish` | Configuration variable |
| `NEXT_PRIVATE_SMTP_FROM_ADDRESS` | `your-email@example.com` | Configuration variable |
| `NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATH` | `/opt/documenso/cert.p12` | Configuration variable |
### Port Mappings
| Host Port | Container Port | Protocol | Purpose |
|-----------|----------------|----------|----------|
| 3513 | 3000 | TCP | Web interface |
### Volume Mappings
| Host Path | Container Path | Type | Purpose |
|-----------|----------------|------|----------|
| `/volume1/docker/documenso/data` | `/opt/documenso` | bind | Data storage |
## 🌐 Access Information
### Web Interface
- **HTTP**: `http://Atlantis:3513`
### Default Credentials
Refer to service documentation for default credentials
## 🔒 Security Considerations
- ⚠️ Consider adding security options (no-new-privileges)
- ⚠️ Consider running as non-root user
## 📊 Resource Requirements
No resource limits configured
### Recommended Resources
- **Minimum RAM**: 512MB
- **Recommended RAM**: 1GB+
- **CPU**: 1 core minimum
- **Storage**: Varies by usage
### Resource Monitoring
Monitor resource usage with:
```bash
docker stats
```
## 🔍 Health Monitoring
⚠️ No health check configured
Consider adding a health check:
```yaml
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:PORT/health"]
interval: 30s
timeout: 10s
retries: 3
```
### Manual Health Checks
```bash
# Check container health
docker inspect --format='{{.State.Health.Status}}' CONTAINER_NAME
# View health check logs
docker inspect --format='{{range .State.Health.Log}}{{.Output}}{{end}}' CONTAINER_NAME
```
## 🚨 Troubleshooting
### Common Issues
**Service won't start**
- Check Docker logs: `docker-compose logs service-name`
- Verify port availability: `netstat -tulpn | grep PORT`
- Check file permissions on mounted volumes
**Can't access web interface**
- Verify service is running: `docker-compose ps`
- Check firewall settings
- Confirm correct port mapping
**Performance issues**
- Monitor resource usage: `docker stats`
- Check available disk space: `df -h`
- Review service logs for errors
### Useful Commands
```bash
# Check service status
docker-compose ps
# View real-time logs
docker-compose logs -f documenso
# Restart service
docker-compose restart documenso
# Update service
docker-compose pull documenso
docker-compose up -d documenso
# Access service shell
docker-compose exec documenso /bin/bash
# or
docker-compose exec documenso /bin/sh
```
## 📚 Additional Resources
- **Official Documentation**: Check the official docs for documenso
- **Docker Hub**: [documenso/documenso:latest](https://hub.docker.com/r/documenso/documenso:latest)
- **Community Forums**: Search for community discussions and solutions
- **GitHub Issues**: Check the project's GitHub for known issues
## 🔗 Related Services
Other services in the other category on Atlantis
---
*This documentation is auto-generated from the Docker Compose configuration. For the most up-to-date information, refer to the official documentation and the actual compose file.*
**Last Updated**: 2025-11-17
**Configuration Source**: `Atlantis/documenso/documenso.yaml`