Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    igor romanovsky
    @igorromanovsky_twitter
    Hey. Is there any guide for deploying to GCP
    Karim Abuzaid
    @Vercryger
    @jhonsfran1165 Thank you. This is the current yaml for our reaction admin, the rest of services are just more of the same
    apiVersion: v1
    kind: Service
    metadata:
      labels:
        reaction: admin
      name: reaction-admin
      annotations:
        service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http"
        service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-2:<accountno>:certificate/<cid>
        service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https"
        service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*"
    spec:
      ports:
      - name: http
        port: 80
        targetPort: 4080
      - name: https
        port: 443
        targetPort: 4080
      selector:
        reaction: admin
      type: LoadBalancer
    status:
      loadBalancer: {}
    4 replies
    Like I mentioned before, we're not using ingress controllers of any kind, we've achieved SSL for all services using just ELB
    igor romanovsky
    @igorromanovsky_twitter
    Hey all...
    I'm trying to deploy reaction-admin, reaction and reaction-hydra to GCP. I've deployed reaction-admin and reaction, but now I'm struggling with the deployment of the reaction-hydra.
    unfortunately I don't have experience with "hydra" so if someone can give me a smal direction to how it could be done, I would be very grateful.
    8 replies
    igor romanovsky
    @igorromanovsky_twitter
    Hey guys. Just wanted to share a really good installation guide on K8s that uses Helm chart :
    https://slingshotlabs.io/blog/deploying-reaction-commerce-on-kubernetes/
    Andrei Balmus
    @abalmush
    @igorromanovsky_twitter Hi Igor, thanks for great article. I have a question for the community. Do you know if I can find information on how to configure a continues deployment. For example I would like to change storefront a little bit. What would be the best way for deploying my changes into existing cluster? Sorry I'm new in this and I'm trying to understand please help!
    3 replies
    Andrei Balmus
    @abalmush
    Ok I think I understand I have to generate new version of docker image and push it to docker registry and then use it
    Andrei Balmus
    @abalmush
    image.png
    Hi guys, I successfully deployed reaction to kubernetes cluster and everything works as expected. BUT if I use existing mongo db instead of local one, I'm getting this error.
    The db user has admin privileges, what I'm doing wrong please help.
    MitchellWT
    @MitchellWT
    Hey, I'm attempting to deploy an online development platform using digital ocean. I'm using this github repo https://github.com/reactioncommerce/proxy-traefik. The installation works fine until I perform a "make init-dev", after that point all web addresses (except the traefik dashboard) respond with traefik's "404 page not found" page. I think the issue is that traefik can't locate the new files. So I'm wondering where I can find where traefik determines the file locations for web addresses?
    2 replies
    l2ysho
    @l2ysho

    The db user has admin privileges, what I'm doing wrong please help.

    Hi, you need also clusterAdmin and dbAdmin roles for your user

    Robin T
    @qispark
    Hi there, I was wondering if anyone encountered an issue with Reaction Admin using a production Reaction server. In my docker instance, when I point it to my Reaction server running on localhost in docker, it works. However, it seems like it's unable to generate a valid token when configured with a remote production Reaction server, causing the user to log out after having just logged in. Just wondering if anyone has encountered such an issue and what sort of misconfiguration may cause this?
    2 replies
    vaneet
    @zmcomputing
    Hi Everyone, I have two VPS hosts at contabo. Can I deploy reaction commerce services on both ? . Which Services you recommend to install on two for best scalability and performance ? Also, I cannot find deployment on production documentation. I can see environment variables, if all these values in env files need to be changed for prod, then it should be fine, but I suppose there should be other configuration parameters for running on production for instance caching and etc. Thank you.
    Thomas
    @lacrx
    for the EXTERNAL_GRAPHQL_URL env variable in reaction commerce 2 frontend, is that our backend url, followed by "graphql-beta"?
    just making 100% sure. the INTERNAL_GRAPHQL_URL is the backend load balancer dns name followed by "graphql-beta", so i'm pretty sure the EXTERNAL_GRAPHQL_URL follows that same format. i'm just not 100% sure
    vaneet
    @zmcomputing
    So, where can I get some help on setting reaction on VPS in production ?
    Loan Laux
    @loan-laux
    Hey @zmcomputing, there’s a tutorial that you can follow here: https://github.com/reactioncommerce/proxy-traefik. Let me know if you have any questions.
    vaneet
    @zmcomputing
    Thank you Loan, I have followed the tutorial. however that is to deploy on digital ocean and I see that it expects authentication token for its api aka droplet. How can I simulate or create that on my Centos 7 VPS
    I read in detail about cloud computing and realised that cloud servers are well designed at hardware level for virtualizations and running many softwares on top to enable scaling and I cannot do that on two VPS as it need dedicated servers to simulate. Therefore, can I install reaction commerce on two VPS , if yes, then what is best configuration. as some services will run inside docker on one machine and database and etc on other VPS. Their communication will be via external ip of other VPS . as I dont think I will get internal IP from hosting provider for the VPS to sort of have in same tenant. Does that make sense or perhaps I am just over analysing here ? Thank you again
    Loan Laux
    @loan-laux
    @zmcomputing You can run RC on multiple VPS using Docker Swarm and Portainer. You’ll find plenty of tutorials online to set this up. Pretty much gives you all the advantages of a managed platform like ECS, but with your own infrastructure.
    vaneet
    @zmcomputing
    @loan-laux : That is so helpful :) thank you very much. ( I can setup above on my VPS this week, I assume then with above setup, I could create a auth token for connecting service running on one VPS ( which is expected here : https://github.com/reactioncommerce/proxy-traefik ) and in this way I can manage to install reaction commerce on two VPS in production. I can put a blog post/ article after doing it and it can help many other startups and techies to use this platform. I researched a lot but could not find any article to setup reaction commerce on VPS. Thank you again :)
    Loan Laux
    @loan-laux
    Glad I could help @zmcomputing. As far as articles go, in addition to the tutorial I sent you, @balibebas wrote a blog post about his own experience deploying RC on a VPS. Hope that helps you more. https://habd.as/post/reaction-commerce-getting-started/
    vaneet
    @zmcomputing
    Yes, That uses digital ocean where they have droplet which is VPS cloud compliant, and they expect : do_auth_token The Authentication token for the Digital Ocean API.
    As per your suggestion, I should be able to set up with Portainer and DockerSwarm.
    aliabrak
    @aliabrak
    Hi everyone, Would be great and much appreciated if someone can create a virtualbox or vmware image which works out of the box to get up and running (for developement) as quickly as possible.
    Loan Laux
    @loan-laux
    Hey @aliabrak. Wouldn’t Docker work? There are ready-to-use images available on Docker Hub, which you can set up easily with the Makefile at https://github.com/reactioncommerce/reaction-development-platform.
    m5ingh
    @m5ingh
    how do i add new shop to my docker reaction installation.
    details
    i have tried to register as new user and add another shop using a new account for adding shop but after clicking regiester shop nothing happerns.
    also if i understand correctly there must be overall owner of entire reaction installation only who can add or delete shops. is this correct or am i wrong?
    Akarshit Wal
    @Akarshit
    The first user you create is the owne of the whole reaction. If you login as that user, you should be able to create new shops
    m5ingh
    @m5ingh
    i was unclear regarding the details i provided:
    i have the first account tied to a shop
    when i try to add new shop in the same first created account after enterring shop name and clicking create shop nothing happens
    Akarshit Wal
    @Akarshit
    Hmm weird, I don't see that. I will get reaction running and try that again now..
    m5ingh
    @m5ingh
    exact steps i took:
    logout and login
    Loan Laux
    @loan-laux
    @m5ingh What versions of reaction and reaction-admin are you using?
    m5ingh
    @m5ingh
    see default shop. click add new shoop, give name, click create shop
    admin:3.0.0-beta.11
    reaction:3.11.0
    Loan Laux
    @loan-laux
    I believe beta 12 is available now… Can you update just to be on the safe side? I assume you’re just trying to run the platform with no modification so that shouldn’t be an issue. Right?
    m5ingh
    @m5ingh
    yes
    i will update and inform
    Loan Laux
    @loan-laux
    Same for the API, we now have 3.11.1. A very minor release, but still good to be up to date.
    m5ingh
    @m5ingh
    something weird is happening. i deleted the previous reaction repo after stopping the containers. fresh clone and make. even then the previous accounts are showing up. is this has something to do with cookies
    the accounts created in previous installation shouldnt show up in fresh cloned and built system
    -7/4