feat(self-host/docker-compose): allow configuring the internal port of the api

This commit is contained in:
Gergő Móricz 2025-02-21 16:10:40 +01:00
parent 9671e68512
commit 82adf81b15

View File

@ -57,13 +57,13 @@ services:
environment: environment:
<<: *common-env <<: *common-env
HOST: ${HOST:-0.0.0.0} HOST: ${HOST:-0.0.0.0}
PORT: 3002 PORT: ${INTERNAL_PORT:-3002}
FLY_PROCESS_GROUP: app FLY_PROCESS_GROUP: app
depends_on: depends_on:
- redis - redis
- playwright-service - playwright-service
ports: ports:
- "${PORT:-3002}:3002" - "${PORT:-3002}:${INTERNAL_PORT:-3002}"
command: [ "pnpm", "run", "start:production" ] command: [ "pnpm", "run", "start:production" ]
worker: worker: