Refactor code structure for improved readability and maintainability

This commit is contained in:
2025-10-19 22:08:17 +02:00
parent bec0a3b72f
commit 445f522fa8
11 changed files with 2242 additions and 2182 deletions

View File

@@ -1,13 +1,24 @@
services:
# Production service
hitstar:
build: .
image: hitstar-webapp:latest
build:
context: .
dockerfile: Dockerfile
target: production
image: hitstar-deno:prod
container_name: hitstar
environment:
- NODE_ENV=production
- DENO_ENV=production
- PORT=5173
ports:
- "5173:5173"
volumes:
- ./data:/app/data:rw
restart: unless-stopped
- ./data:/app/data:ro
- ./src/server-deno/public:/app/public:ro
restart: unless-stopped
networks:
- hitstar-network
networks:
hitstar-network:
driver: bridge