feat: add Railway deployment with zero-config setup

This commit is contained in:
czlonkowski
2025-07-16 17:41:26 +02:00
parent 50d63a883b
commit 0155e4555c
5 changed files with 114 additions and 8 deletions

View File

@@ -65,11 +65,16 @@ RUN addgroup -g 1001 -S nodejs && \
chown -R nodejs:nodejs /app
USER nodejs
# Set environment variables
# Set Railway-optimized environment variables
ENV AUTH_TOKEN="REPLACE_THIS_AUTH_TOKEN_32_CHARS_MIN_abcdefgh"
ENV NODE_ENV=production
ENV IS_DOCKER=true
ENV MCP_MODE=http
ENV USE_FIXED_HTTP=true
ENV LOG_LEVEL=info
ENV TRUST_PROXY=1
ENV HOST=0.0.0.0
ENV CORS_ORIGIN="*"
# Expose port (Railway will set PORT automatically)
EXPOSE 3000