Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user