Added README and ignorefile
This commit is contained in:
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/.*
|
||||
/*.md
|
||||
/*.sqlite3
|
||||
/venv
|
||||
__pycache__
|
||||
*.swp
|
||||
*.pyc
|
||||
!/.gitignore
|
||||
!/README.md
|
||||
49
README.md
Normal file
49
README.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# Django Proxmox/Mikrotik
|
||||
|
||||
A django app that provides a development env on a proxmox with DNS etc via Mikrotik
|
||||
|
||||
|
||||
## `.env`
|
||||
you need an `.env` File with the following params:
|
||||
|
||||
```dotenv
|
||||
ALLOWED_HOSTS="127.0.0.1,localhost"
|
||||
|
||||
PROXMOX_HOST=""
|
||||
PROXMOX_USER=""
|
||||
PROXMOX_PASS=""
|
||||
PROXMOX_NODE=""
|
||||
PROXMOX_READONLY=0
|
||||
PROXMOX_MAX_MEM=8092
|
||||
PROXMOX_MAX_DISK=100
|
||||
PROXMOX_MAX_CORES=8
|
||||
PROXMOX_CREATE_LXC_TIMEOUT=600
|
||||
|
||||
|
||||
MIKROTIK_HOST=""
|
||||
MIKROTIK_USER=""
|
||||
MIKROTIK_PASS=""
|
||||
MIKROTIK_IP_8=""
|
||||
MIKROTIK_READONLY=0
|
||||
|
||||
DATABASE_ENGINE=""
|
||||
DATABASE_USER=""
|
||||
DATABASE_PASSWORD=""
|
||||
DATABASE_HOST=""
|
||||
DATABASE_PORT=5432
|
||||
DATABASE_USER=""
|
||||
DATABASE_NAME=""
|
||||
|
||||
AUTH_LDAP_HOST=""
|
||||
AUTH_LDAP_BIND_DN=""
|
||||
AUTH_LDAP_BIND_PASSWORD=""
|
||||
AUTH_LDAP_USER_BASE=""
|
||||
AUTH_LDAP_USER_FILTER=""
|
||||
AUTH_LDAP_GROUP_SEARCH_BASE=""
|
||||
AUTH_LDAP_GROUP_SEARCH_FILTER=""
|
||||
AUTH_LDAP_USER_ATTR_MAP='{"first_name": "givenName", "last_name": "sn", "email": "mail", "username": "uid"}'
|
||||
AUTH_LDAP_USER_FLAGS_BY_GROUP='{ "is_staff": "cn=staff,ou=groups,...", "is_superuser": "cn=root,ou=groups,..."}'
|
||||
AUTH_LDAP_FIND_GROUP_PERMS=1
|
||||
AUTH_LDAP_CACHE_GROUPS=1
|
||||
AUTH_LDAP_GROUP_CACHE_TIMEOUT=3600
|
||||
```
|
||||
Reference in New Issue
Block a user