I am not able to login into lamp dashboard and for therefore explaining the situation->
I am using very simple configuration of yml file for single node deployment->
lamp.yml
version: '3.7'
services:
server:
image: ghcr.io/bidmcdigitalpsychiatry/lamp-server:2023
environment:
HTTPS: 'off'
ROOT_KEY: '4085512be1893abc57bc2b07bedecd92a7528c4d9074ab23f69117628ac791d4'
DB: 'mongodb://admin:2ea870ef02847f72@database:27017/'
PUSH_API_GATEWAY: 'https://app-gateway.lamp.digital/'
PUSH_API_KEY: 'YOUR_PUSH_KEY_HERE' # Optional
DASHBOARD_URL: 'dashboard.lamp.digital'
REDIS_HOST: 'redis://cache:6379/0'
NATS_SERVER: 'message_queue:4222'
networks:
- public
ports:
- "3000:3000" # Directly expose port 3000
logging:
options:
max-size: "10m"
max-file: "3"
database:
image: mongo:6.0.4
environment:
MONGO_INITDB_ROOT_USERNAME: 'admin'
MONGO_INITDB_ROOT_PASSWORD: '2ea870ef02847f72'
volumes:
- mongo_data:/data/db
networks:
- public
cache:
image: redis:6.0.8-alpine
networks:
- public
message_queue:
image: nats:2.1.9-alpine3.12
networks:
- public
volumes:
mongo_data:
networks:
public:
driver: bridge
I am aiming for single node deployment (my above yml file is configured accordingly).
After doing docker-compose -f lamp.yml up -d, all my services are up by checking the containers are running or not via command →
docker container ls -a
and is following output->
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e53ceef7c75f nats:2.1.9-alpine3.12 "docker-entrypoint.s…" 5 hours ago Up 5 hours 4222/tcp, 6222/tcp, 8222/tcp mindlamptry_message_queue_1
1461cc2851b0 redis:6.0.8-alpine "docker-entrypoint.s…" 5 hours ago Up 5 hours 6379/tcp mindlamptry_cache_1
ea0899853197 ghcr.io/bidmcdigitalpsychiatry/lamp-server:2023 "docker-entrypoint.s…" 5 hours ago Up 5 hours 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp mindlamptry_server_1
b45e44314d12 mongo:6.0.4 "docker-entrypoint.s…" 5 hours ago Up 5 hours 27017/tcp mindlamptry_database_1
also I am able to see my administrator password which is printed in the server service logs.
also I am creating tunnel for the localhost server running at port 3000 via zrok (zrok share public localhost:8000). the zrok provides url(Lets say ‘url1’) for accessing the server at port 3000.
When I visit the url1 i am able to see request result as json response where some tags, api, and schemas are written.
When I run the following command->
curl -k url1/researcher -H 'Authorization: Basic admin:<my server password here>'
I get the following output->
{
"data": []
}
Now when I visit to the lamp dashboard in chrome
I have following screen →
For input of
- my_email@address.com → I enter “admin”
- password → I enter administrator password i got from logs.
But I get the following error->
Can some one please help what could be the issue or any solutions??