@karolkielecki What would be the recommended setup and configuration to deploy the Saleor Dashboard 2.0? We have the GraphQL API deployed on AWS EBS Docker container. Should Dashboard be in its own separate server or better to have both in the same server or is it better to be deployed on some static host like S3?
PS: I'm more of a developer than devops guy.
This is the Dockerfile
FROM node:10 as builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
ARG APP_MOUNT_URI
ARG API_URI
ARG STATIC_URL
ENV API_URI http://saleor20-cabinets-dev.us-west-2.elasticbeanstalk.com/graphql/
ENV APP_MOUNT_URI ${APP_MOUNT_URI:-/dashboard/}
ENV STATIC_URL ${STATIC_URL:-/dashboard/}
RUN STATIC_URL=${STATIC_URL} API_URI=${API_URI} APP_MOUNT_URI=${APP_MOUNT_URI} npm run build
FROM nginx:stable
WORKDIR /app
COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/build/ /app/
Saleor 2.9.1 SECURITY release
@/all We've rolled out a new release that fixes a vulnerability issue in Saleor. The fixes are available on Saleor 2.9.1 and the master branch. If you use 2.9.0 or older version, please update Saleor as soon as possible.
Check out more details here: https://github.com/mirumee/saleor/releases/tag/2.9.1
I am trying to implement saleor (from the beginning) with git submodules, help me to know if this is a correct way..
sorry maybe I need to be very explicit
initial setup
git remote rename origin fork
//remane my origin reference as "fork"git remote add origin https://github.com/mirumee/saleor.git
//add saleor as "origin"
With the fork already made i create two branches (dev & prod)
My team will work against the dev branch and it will receive the ascending changes by the master brach. Logically, the prod branch is for deploy proposess, but it this will merged against the dev branch.
Also the master branch receive the ascending changes for saleor "origin".
In the dev branch i create submodules. pull , commit & ,push (on fork reference) the changes. This is when you have to really start being careful with send correclty this changes.
`*fork saleor
|
|
|_>submodule dashboard
|
|_>submodule storefront
`
Follow this way, the master branch is outdated respect to dev...this is not a problem for my workflow ...or yes?
What is the best way to handle it?
on branch (master)git status
On branch master
Your branch is up to date with 'fork/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
saleor-dashboard/
saleor-storefront/
Thanks for your time...
@/all We've seen that many of you asked for help about how to use Docker Compose. If you would like to learn how to run Saleor with Docker Compose, read our new blog article explaining the issue in detail - written by @beatboxchad.
.
----> http://bit.ly/Saleor_DockerCompose
We're also working on improvements and automatization regarding using Docker Compose for the production. Stay tuned!