diff --git a/.env.example b/.env.example index 184961b..bff1e7b 100644 --- a/.env.example +++ b/.env.example @@ -19,3 +19,6 @@ DATABASE_URL= # Admin account details ADMIN_PASSWORD="password" + +# Container Port +PORT=1234 diff --git a/docker-compose.yml b/docker-compose.yml index f165f4e..39176b0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: context: . restart: always ports: - - "1234:3000" + - "${PORT}:3000" environment: - NEXTAUTH_SECRET - NEXTAUTH_URL