init
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Configuration for Personal Internet Cell
|
||||
"""
|
||||
|
||||
# Development mode - set to True for development, False for production
|
||||
DEVELOPMENT_MODE = True
|
||||
|
||||
# Service configuration
|
||||
SERVICES = {
|
||||
'network': {
|
||||
'enabled': True,
|
||||
'development_status': {
|
||||
'dns_running': True,
|
||||
'dhcp_running': True,
|
||||
'ntp_running': True,
|
||||
'running': True,
|
||||
'status': 'online'
|
||||
}
|
||||
},
|
||||
'wireguard': {
|
||||
'enabled': True,
|
||||
'development_status': {
|
||||
'running': True,
|
||||
'status': 'online',
|
||||
'interface': 'wg0',
|
||||
'peers_count': 1,
|
||||
'total_traffic': {'bytes_sent': 1024, 'bytes_received': 2048}
|
||||
}
|
||||
},
|
||||
'email': {
|
||||
'enabled': True,
|
||||
'development_status': {
|
||||
'running': True,
|
||||
'status': 'online',
|
||||
'smtp_running': True,
|
||||
'imap_running': True,
|
||||
'users_count': 0,
|
||||
'domain': 'cell.local'
|
||||
}
|
||||
},
|
||||
'calendar': {
|
||||
'enabled': True,
|
||||
'development_status': {
|
||||
'running': True,
|
||||
'status': 'online',
|
||||
'users_count': 0,
|
||||
'calendars_count': 0,
|
||||
'events_count': 0
|
||||
}
|
||||
},
|
||||
'files': {
|
||||
'enabled': True,
|
||||
'development_status': {
|
||||
'running': True,
|
||||
'status': 'online',
|
||||
'webdav_status': {'running': True, 'port': 8080},
|
||||
'users_count': 0,
|
||||
'total_storage_used': {'bytes': 0, 'human_readable': '0 B'}
|
||||
}
|
||||
},
|
||||
'routing': {
|
||||
'enabled': True,
|
||||
'development_status': {
|
||||
'running': True,
|
||||
'status': 'online',
|
||||
'nat_rules_count': 1,
|
||||
'peer_routes_count': 0,
|
||||
'firewall_rules_count': 0,
|
||||
'exit_nodes_count': 0
|
||||
}
|
||||
},
|
||||
'vault': {
|
||||
'enabled': True,
|
||||
'development_status': {
|
||||
'running': True,
|
||||
'status': 'online',
|
||||
'certificates_count': 1,
|
||||
'secrets_count': 0,
|
||||
'trusted_keys_count': 0
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user