- Added network-view.js for visualizing network topology with devices and connections. - Introduced svg-editor.js for managing ports on device types with drag-and-drop functionality. - Created bootstrap.php for application initialization, including configuration and database connection. - Established config.php for centralized configuration settings. - Developed index.php as the main entry point with module-based routing. - Integrated _sql.php for database abstraction. - Added auth.php for single-user authentication handling. - Included helpers.php for utility functions. - Created modules for managing connections, device types, devices, and floors. - Implemented database schema in init.sql for locations, buildings, floors, rooms, network outlets, devices, and connections. - Added Docker support with docker-compose.yml for web and database services. - Documented database structure and UI/UX concepts in respective markdown files.
41 lines
771 B
YAML
41 lines
771 B
YAML
services:
|
|
web:
|
|
image: php:8.3-apache
|
|
container_name: netdoc_web
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./app:/var/www/html
|
|
depends_on:
|
|
- db
|
|
restart: "no"
|
|
|
|
db:
|
|
image: mariadb:11
|
|
container_name: netdoc_db
|
|
environment:
|
|
MARIADB_ROOT_PASSWORD: root
|
|
MARIADB_DATABASE: netdoc
|
|
MARIADB_USER: netdoc
|
|
MARIADB_PASSWORD: netdoc
|
|
volumes:
|
|
- db_data:/var/lib/mysql
|
|
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
|
restart: "no"
|
|
|
|
phpmyadmin:
|
|
image: phpmyadmin/phpmyadmin
|
|
container_name: netdoc_phpmyadmin
|
|
ports:
|
|
- "8080:80"
|
|
environment:
|
|
PMA_HOST: db
|
|
PMA_USER: netdoc
|
|
PMA_PASSWORD: netdoc
|
|
depends_on:
|
|
- db
|
|
restart: "no"
|
|
|
|
volumes:
|
|
db_data:
|