Skip to content

Commit ddefe11

Browse files
committed
fix: Expose port while running with docker
1 parent 35d22db commit ddefe11

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docker-compose.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ services:
66
depends_on:
77
redis-queue-db:
88
condition: service_healthy
9+
ports:
10+
- "5000:5000"
911
volumes:
1012
- type: bind
1113
source: .env

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const launchBot = async () => {
3030
{
3131
webhook: {
3232
domain: process.env.WEBHOOK_DOMAIN!,
33-
port: Number(process.env.WEBHOOK_PORT),
33+
port: 5000,
3434
maxConnections: 100,
3535
},
3636
dropPendingUpdates: true,

0 commit comments

Comments
 (0)