Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start with provided instructions. #95

Open
TheOddball opened this issue Sep 1, 2024 · 3 comments
Open

Unable to start with provided instructions. #95

TheOddball opened this issue Sep 1, 2024 · 3 comments
Assignees

Comments

@TheOddball
Copy link

I am trying to get GilGoblin working under docker, and unfortunately I am having issues getting it started with the provided instructions.
I am using a brand new install of Ubuntu 24.04 (or 22.04) on a VM (except for installing docker-compose), and running docker-compose up -d is failing to start the containers, failing due to invalid variables (complaining most about ports).

Setting the ports manually in the docker-compose will not get it to load either, due to another error:
'name' does not match any of the regexes: '^x-'

Running the compose using the plugin version (using docker compose up) does get it to start, but most if not all of the containers are failing due to numerous errors. (I imagine due to missing variables.)

Thank you!

@alyssadev
Copy link

alyssadev commented Sep 2, 2024

I made a sample .env file

DOCKER_INFLUXDB_INIT_MODE=setup
DOCKER_INFLUXDB_INIT_ORG=gilgoblin
DOCKER_INFLUXDB_INIT_BUCKET=gilgoblin
DOCKER_INFLUXDB_DB=gilgoblin
DOCKER_INFLUXDB_ADMIN_USER=admin
DOCKER_INFLUXDB_ADMIN_PASSWORD=gilgoblin
PORT_API=55448
PORT_FRONTEND=3000
GF_AUTH_ANONYMOUS_ORG_ROLE=Viewer
GF_AUTH_ANONYMOUS_ENABLED=true
GF_AUTH_BASIC_ENABLED=false
PORT_GRAFANA=3001
POSTGRES_DB=gilgoblin
POSTGRES_USER=gilgoblin
POSTGRES_PASSWORD=gilgoblin
PGUSER=gilgoblin
PGDATA=/var/lib/postgresql/data
PORT_DATABASE=5432
DB_CONNECTION_STRING="Server=database; Port=$PORT_DATABASE; Database=$POSTGRES_DB; User Id=$POSTGRES_USER; Password=$POSTGRES_PASSWORD"

@NickReinlein
Copy link
Owner

@TheOddball sorry, I'm only seeing this now. I didn't know anyone was really looking at this code 😅

The .env provided by @alyssadev is great! It matches quite well what I have in my own

Did you get it to work?

Unfortunately, I'm in the middle of a big rework of the back-end at the moment. The API that was relied upon, Universalis, has changed their format and the structure of their responses. I'm not sure if the current code will update properly.

Overnight, it suddenly started returning empty responses or missing prices. Without adjusting the "fetcher", "updater" and "database" services, I'm not sure how usable it is.

I'm actively working to fix it daily.

@NickReinlein NickReinlein self-assigned this Dec 20, 2024
@NickReinlein
Copy link
Owner

@TheOddball @alyssadev If you get a chance, can you try again please?

This should work directly:
docker compose up -d

It takes about a minute for the database to start, then on localhost:3000, you should have the profits and other data for 3 different worlds.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants