feat: add Railway deployment with zero-config setup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user