Files
ncore-stats/docker-compose.dev.yaml
T
x 12a313eea4 Refactor application structure and enhance logging
- Introduced a Configuration struct to manage application settings.
- Created a State struct to encapsulate application state and dependencies.
- Replaced log package with logrus for improved logging capabilities.
- Implemented graceful shutdown handling for the HTTP server.
- Added context management for background tasks.
- Updated database initialization to ensure tables are created.
- Refactored user management functions to use the new State struct.
- Enhanced error handling and logging throughout the application.
- Updated README to reflect changes in user addition process.
2025-06-15 00:59:50 +02:00

16 lines
242 B
YAML

services:
ncore-stats:
build: .
container_name: ncore-stats
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- data:/app/data
environment:
- NICK=${NICK}
- PASS=${PASS}
volumes:
data: