Skip to content

Commit

Permalink
build: Update port configuration to 8080 for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
wajeht committed Sep 3, 2024
1 parent eaa0bc6 commit 233d938
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.ci
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# app
APP_PORT=80
APP_PORT=8080
APP_ENV="development"
APP_URL="localhost"
APP_ADMIN_EMAIL="[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# app
APP_PORT=80
APP_PORT=8080
APP_ENV="development"
APP_URL="localhost"
APP_ADMIN_EMAIL="[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
# app
APP_PORT: 80
APP_PORT: 8080
APP_ENV: 'development'
APP_URL: 'localhost'
APP_ADMIN_EMAIL: '[email protected]'
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ RUN npm install

COPY ./ ./

EXPOSE 80
EXPOSE 8080

CMD ["npm", "run", "dev"]
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Env } from './types';
dotenv.config({ path: path.resolve(path.join(process.cwd(), '.env')) });

export const appConfig = {
port: parseInt(process.env.APP_PORT || '80', 10),
port: parseInt(process.env.APP_PORT || '8080', 10),
env: (process.env.APP_ENV as Env) || 'development',
appUrl: process.env.APP_URL || '',
adminEmail: process.env.APP_ADMIN_EMAIL || '',
Expand Down

0 comments on commit 233d938

Please sign in to comment.