rkeplin / bible-angularjs-ui

Web-based application for reading and searching the Bible
https://bible-ui.rkeplin.com
GNU General Public License v3.0
6 stars 2 forks source link

issue getting the container up #8

Open jhppc opened 2 weeks ago

jhppc commented 2 weeks ago

I followed all the instructions and was able to get the containers up but looks like it does not have any books in it. the web site is work but no Information display. Any advice would be appreciated thanks

Screenshot 2024-11-09 112921

rkeplin commented 2 weeks ago

What console errors are you getting, if any?

I suspect you need to update the .env file. Have you tried updating it to reflect the URL you’re using?

jhppc commented 2 weeks ago

Sorry I have not edited the .env file. I'm a little confused, if I am hosting on one box, can I use a IP address? Do I need to put the ports for each URL?

`URL=http://bible-ui.rkeplin.local
API_URL=http://bible-go-api.rkeplin.local/v1
APP_API_URL=http://bible-php-api.rkeplin.local/v1
ES_URL=http://bible-es:9200
COOKIE_DOMAIN=.rkeplin.local

ALLOW_ORIGIN=http://bible-ui.rkeplin.local

APP_ENV=local

REDIS_SERVER=tcp://redis:6379`

would this be correct if I use something like bible.home.net?

URL=http://bible.home.net:8082
API_URL=http://bible.home.net:8084/v1
APP_API_URL=http://bible.home.net:8083/v1
ES_URL=http://bible.home.net:9200
COOKIE_DOMAIN=.home.net

ALLOW_ORIGIN=http://bible.home.net

APP_ENV=local

REDIS_SERVER=tcp://bible.home.net:6379

MONGO_DB=app
MONGO_USER=bible
MONGO_PASS=test

BIBLE_APP_ENV=local
BIBLE_DB_ROOT_PASS=test
BIBLE_DB_NAME=bible
BIBLE_DB_HOST=bible-db
BIBLE_DB_USER=bible
BIBLE_DB_PASS=test
jhppc commented 2 weeks ago

I did some messing around and looks like I can curl both API's and get information back so I'm guessing it's a problem with the front end site talk into the APIs.

Screenshot 2024-11-11 221256