From 9f9358a55a94fba92739b4c322813194ba312cb0 Mon Sep 17 00:00:00 2001 From: hackerESQ Date: Wed, 4 Sep 2024 19:25:48 -0500 Subject: [PATCH] make port configurable --- .env.example | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index e948754..0227feb 100644 --- a/.env.example +++ b/.env.example @@ -4,6 +4,7 @@ APP_KEY= APP_DEBUG=false APP_TIMEZONE=UTC APP_URL=http://localhost +APP_PORT=8000 APP_LOCALE=en APP_FALLBACK_LOCALE=en diff --git a/docker-compose.yml b/docker-compose.yml index 1dbc490..ee6c259 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,7 @@ services: restart: unless-stopped tty: true ports: - - "8000:80" + - "${APP_PORT:-8000}:80" volumes: - ./docker/nginx.conf:/etc/nginx/conf.d/default.conf - .:/var/www/app:delegated