Reading config file '/app/drizzle.config.ts'

Using 'pg' driver for database querying

[⣷] Pulling schema from database...

[✓] Pulling schema from database...

[✓] Changes applied

> rest-express@1.0.0 start

> NODE_ENV=production node dist/index.js

OPENROUTER_API_KEY not set. AI text generation will not work.

2:57:45 PM [express] serving on port 5555

Scheduler service started

Error processing pending posts: ErrorEvent {

  [Symbol(kTarget)]: WebSocket {

    _events: [Object: null prototype] {

      error: [Function],

      message: [Function],

      close: [Function],

      open: [Function]

    },

    _eventsCount: 4,

    _maxListeners: undefined,

    _binaryType: 'arraybuffer',

    _closeCode: 1006,

    _closeFrameReceived: false,

    _closeFrameSent: false,

    _closeMessage: <Buffer >,

    _closeTimer: null,

    _errorEmitted: true,

    _extensions: {},

    _paused: false,

    _protocol: '',

    _readyState: 3,

    _receiver: null,

    _sender: null,

    _socket: null,

    _bufferedAmount: 0,

    _isServer: false,

    _redirects: 0,

    _autoPong: true,

    _url: 'wss://postgres/v2',

    _req: null,

    [Symbol(shapeMode)]: false,

    [Symbol(kCapture)]: false

  },

  [Symbol(kType)]: 'error',

  [Symbol(kError)]: Error: connect ECONNREFUSED 172.23.0.2:443

      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {

    errno: -111,

    code: 'ECONNREFUSED',

    syscall: 'connect',

    address: '172.23.0.2',

    port: 443

  },

  [Symbol(kMessage)]: 'connect ECONNREFUSED 172.23.0.2:443'

}

Error processing pending posts: ErrorEvent {

  [Symbol(kTarget)]: WebSocket {

    _events: [Object: null prototype] {

      error: [Function],

      message: [Function],

      close: [Function],

      open: [Function]

    },

    _eventsCount: 4,

    _maxListeners: undefined,

    _binaryType: 'arraybuffer',

    _closeCode: 1006,

    _closeFrameReceived: false,

    _closeFrameSent: false,

    _closeMessage: <Buffer >,

    _closeTimer: null,

    _errorEmitted: true,

    _extensions: {},

    _paused: false,

    _protocol: '',

    _readyState: 3,

    _receiver: null,

    _sender: null,

    _socket: null,

    _bufferedAmount: 0,

    _isServer: false,

    _redirects: 0,

    _autoPong: true,

    _url: 'wss://postgres/v2',

    _req: null,

    [Symbol(shapeMode)]: false,

    [Symbol(kCapture)]: false

  },

  [Symbol(kType)]: 'error',

  [Symbol(kError)]: Error: connect ECONNREFUSED 172.23.0.2:443

      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {

    errno: -111,

    code: 'ECONNREFUSED',

    syscall: 'connect',

    address: '172.23.0.2',

    port: 443

  },

  [Symbol(kMessage)]: 'connect ECONNREFUSED 172.23.0.2:443'

}


      
      
    