
Run the published image:
docker run -d \
--name starquery \
-p 8080:8080 \
--add-host=host.docker.internal:host-gateway \
-v starquery-data:/var/lib/starquery \
--restart unless-stopped \
interaapps/starqueryINFO
If StarQuery needs to reach services on your host machine from inside Docker, configure datasources with host.docker.internal instead of localhost.
Run the published image:
services:
app:
image: interaapps/starquery:latest
environment:
HOST: 0.0.0.0
PORT: 8080
STARQUERY_MODE: hosted
STARQUERY_SERVER_NAME: StarQuery Hosted
STARQUERY_META_DRIVER: sqlite
STARQUERY_META_SQLITE_PATH: /var/lib/starquery/starquery-meta.sqlite
ports:
- '8080:8080'
volumes:
- starquery-app-data:/var/lib/starquery
restart: unless-stopped
volumes:
starquery-app-data:Then open:
http://localhost:8080This default setup gives you: