FROM directus/directus:11

# Add any custom extensions or configurations here if needed
# COPY ./extensions /directus/extensions

# Default environment for optimized production use
ENV LOGGER_LEVEL="info"
ENV WEBSOCKETS_ENABLED="true"

# Health check
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
    CMD curl -f http://localhost:8055/health || exit 1
