Skip to content

Commit

Permalink
Update .env
Browse files Browse the repository at this point in the history
  • Loading branch information
jifollan authored and GitHub Enterprise committed Mar 20, 2025
1 parent 85d9ce2 commit 3702b6d
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,33 @@ GROUP_ID=04
DOMAIN=localhost
URL_PREFIX=http://
PORT_PREFIX=2

DEV_POSTFIX=1
STAG_POSTFIX=2
PROD_POSTFIX=3
DEV_PORT_PREFIX=${PORT_PREFIX}${GROUP_ID}${DEV_POSTFIX}
STAG_PORT_PREFIX=${PORT_PREFIX}${GROUP_ID}${STAG_POSTFIX}
PROD_PORT_PREFIX=${PORT_PREFIX}${GROUP_ID}${PROD_POSTFIX}

# Precomputed port prefixes
DEV_PORT_PREFIX=2041
STAG_PORT_PREFIX=2042
PROD_PORT_PREFIX=2043

BACKEND_POSTFIX=4
FRONTEND_POSTFIX=5
GATEWAY_POSTFIX=6

# Full port numbers for each service
DEV_BACKEND_PORT=20414
DEV_FRONTEND_PORT=20415
DEV_GATEWAY_PORT=20416

STAG_BACKEND_PORT=20424
STAG_FRONTEND_PORT=20425
STAG_GATEWAY_PORT=20426

PROD_BACKEND_PORT=20434
PROD_FRONTEND_PORT=20435
PROD_GATEWAY_PORT=20436

DJANGO_SUPERUSER_PASSWORD=Password
DJANGO_SUPERUSER_USERNAME=admin
DJANGO_SUPERUSER_EMAIL=admin@mail.com

0 comments on commit 3702b6d

Please sign in to comment.