Comments (5)
Hi @junaid33 ,
where you able to run Reaction Commerce on CapRover? I tried to run it based on the docker image you provided. It seems like the app is running fine, but when I try to access the apps URL, I always get an NGINX Error 502.
Can you maybe share a repo or captain-definition that you have used to get it running?
from one-click-apps.
Go to apps settings, under htttp tab, scroll down to the bottom, change container HTTP port
to 3000.
from one-click-apps.
Hi thanks!
Can I also ask you how you deployed it?
from one-click-apps.
-
Create a mongodb app using one-click app, call it
mydatabase
. -
Create a regular app, call it
reaction
-
Go to the App Config tab, and click on BULK EDIT under environmental variables, copy and paste this:
ROOT_URL=http://localhost
[email protected]
REACTION_AUTH=mystrongpass
REACTION_USER=myusername
MONGO_URL=mongodb://root:mYMonGoDbPasSwOrd@srv-captain--mydatabase
Note that if you have a non alpha numeric password for MongoDB, you have to adjust your URL (URL encoding)
- Go to the deploy tab and copy and paste this
FROM reactioncommerce/reaction:latest
under deployment method 4: Deploy plain Dockerfile - Deploy Dockerfile
- Wait for build to be finished.
- One last bit is that Reaction uses a very large header which breaks default nginx header buffer size, so you have to go and EDIT NGINX CONFIG under http settings tab and find this block:
proxy_pass $upstream;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
and add 3 lines, right below the previous chunk
proxy_pass $upstream;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# NEW LINES:
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
finally set the HTTP container port to 3000, and done!
from one-click-apps.
Hi there,
Ìm very sorry to open this discussion again, but unfortunately it’s still not working. However we are able to load the login page. As far as my understanding goes, reaction is using websockets. I turned it on and even enabled https, but the admin panel is still not loading after login. The console tells me that the websocket connection was unsuccessful, so I believe there’s is some extra configuration necessary?
Thanks heaps for your help!
from one-click-apps.
Related Issues (20)
- App Suggestion: Forgejo
- App Suggestion: [Authentik] HOT 1
- SSH OneClickApp does not allow to connect to other containers HOT 1
- App Suggestion: SearXNG HOT 1
- App Suggestion: Deluge (file already available) HOT 1
- App Suggestion: PairDrop
- AppWrite Schedulor service wouldn't start for version 1.4+
- App issue: Invoice Ninja
- App issue: Paperless-ng HOT 1
- App Suggestion: BTCPayServer HOT 14
- App Suggestion: GlitchTip HOT 2
- AppWrite Oneclick broken HOT 2
- App Suggestion: Cozy
- App Suggestion:hollaex-kit
- Seatable is not using the latest image HOT 1
- App Suggestion: OpenDataKit - ODK
- App Suggestion: Prefect Workflow Engine
- App Suggestion: Airbyte
- App Suggestion: Ayon HOT 2
- Can't enable TSL/SSL Authentication on Poste.io HOT 4
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 one-click-apps.