chore: silencing frontend logs
This commit is contained in:
+4
-1
@@ -76,6 +76,7 @@ services:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
- POSTGRES_DB=aden_tsdb
|
||||
command: ["postgres", "-c", "log_min_messages=warning", "-c", "log_statement=none"]
|
||||
volumes:
|
||||
- timescaledb_data:/var/lib/postgresql/data
|
||||
# Auto-run schema files on first startup (alphabetical order)
|
||||
@@ -98,10 +99,11 @@ services:
|
||||
container_name: honeycomb-mongodb
|
||||
ports:
|
||||
- "${MONGODB_PORT:-27017}:27017"
|
||||
command: ["mongod", "--quiet", "--logpath", "/dev/null"]
|
||||
volumes:
|
||||
- mongodb_data:/data/db
|
||||
healthcheck:
|
||||
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')"]
|
||||
test: ["CMD", "mongosh", "--quiet", "--eval", "db.adminCommand('ping')"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -116,6 +118,7 @@ services:
|
||||
container_name: honeycomb-redis
|
||||
ports:
|
||||
- "${REDIS_PORT:-6379}:6379"
|
||||
command: ["redis-server", "--loglevel", "warning"]
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
healthcheck:
|
||||
|
||||
@@ -31,5 +31,6 @@ COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
# Expose port
|
||||
EXPOSE 3000
|
||||
|
||||
# Start nginx
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
# Override the default entrypoint to skip noisy scripts
|
||||
ENTRYPOINT []
|
||||
CMD ["sh", "-c", "echo '[Beeline] Frontend ready at http://localhost:3000' && exec nginx -g 'daemon off;' 2>/dev/null"]
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
# Suppress noisy logs - only log errors
|
||||
error_log /var/log/nginx/error.log error;
|
||||
access_log off;
|
||||
|
||||
server {
|
||||
listen 3000;
|
||||
server_name localhost;
|
||||
|
||||
Reference in New Issue
Block a user