Comments (4)
Thanks for the heads-up @encima. Just so I understand, do you have trouble if you visit http://localhost:8484
after running this:
docker pull gristlabs/grist
docker run -p 8484:8484 -it gristlabs/grist
If you know the IP address that grist will ultimately be served on, you can set some environment variables to let it know. Would this work for you?:
export IP=192.168.1.153
docker run -p 8484:8484 \
--env GRIST_SINGLE_PORT=true \
--env GRIST_HOST=0.0.0.0 \
--env GRIST_SINGLE_ORG=docs \
--env GRIST_DOMAIN=$IP \
--env APP_HOME_URL=http://$IP:8484 \
--env APP_DOC_URL=http://$IP:8484 \
-it gristlabs/grist
I agree it'd be better if this worked straight out of the box, without the api
logic confounding things. We also also documentation of environment variables we should make public...
from grist-core.
I did find the environment variables so that part was ok. but just running with local host causes an issue because connection string tries api.localhost and fails.
also, when I set the IP under APP_HOME etc then the api will then try api.168.1.2 instead of api.$IP. Both would fail but I guess the regex is just splitting at the first "."?
from grist-core.
Would it be possible to describe exactly how you are running Grist? Then I could help suggest environment variable changes that might help you. Variables that may be relevant include GRIST_SINGLE_PORT
, GRIST_SINGLE_ORG
, and GRIST_ORG_IN_PATH
. Accesses to api.*
should be fixable with a configuration matching the situation (running a single server handling all responsibilities, and perhaps for a single hard-coded organization).
from grist-core.
Sorry for the delay here! I did switch to paying for an account with your hosted version but would still like a mirrored, self hosted version.
Currently, I am deploying all in a single container with a Lets Encrypt proxy pointing to the grist domain
I tested running on my local machine and all works fine so I assume it is something with the proxy (or Caprovers port mapping); I will close now and update if I do succeed in running it this way.
from grist-core.
Related Issues (20)
- decimal number entry broken with locale "Denmark (English)" HOT 6
- UI for 'Terms of use' modale HOT 4
- Mandatory field for widgets
- Test
- self-hosted: hide snapshot UI if not enabled
- FR: search all users registered on closed self-hosted instance
- Work out a design for two-way references HOT 1
- Design UI for the first version of notifications HOT 3
- Access Rules for Pages HOT 2
- test
- Setting GRIST_ANON_PLAYGROUND=false should auto-redirect to login
- SAML extra fields
- Only radio buttons available for Reference List columns in Form Widget
- Form Widget does not follow column dropdown filters
- Make a better UI for charts
- Allow configuring start of the week to either Sunday or Monday HOT 2
- Forms do not respect table access rules
- row height expands even if word-wrap is unselected HOT 2
- Force-reload may raise a 429 (TOO_MANY_REQUESTS) error HOT 3
- EACCES: permission denied (container restart cyclically after update from 15.07.2024 for latest tag) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grist-core.