diff --git a/.env.example b/.env.example index 4956400..f3e1fa3 100644 --- a/.env.example +++ b/.env.example @@ -5,6 +5,9 @@ BACKEND_PORT=3001 # Client (frontend) port CLIENT_PORT=3000 +# API port +API_PORT=8080 + # Signal API Configuration # URL for the Signal API server (if using Signal tracking) SIGNAL_API_URL=http://localhost:8080 diff --git a/docker-compose.yml b/docker-compose.yml index a0cc642..55907ec 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,7 +40,7 @@ services: signal-api: image: bbernhard/signal-cli-rest-api ports: - - "8080:8080" + - "${API_PORT:-8080}:8080" environment: - MODE=json-rpc restart: unless-stopped