Skip to content

Controlplane setup #507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jan 3, 2023
Merged

Controlplane setup #507

merged 11 commits into from
Jan 3, 2023

Conversation

dzirtusss
Copy link
Contributor

@dzirtusss dzirtusss commented Oct 31, 2022

This change is Reviewable

@dzirtusss dzirtusss force-pushed the sergey/controlplane-setup branch from 94b3977 to 0a3a1e0 Compare November 1, 2022 13:29
@dzirtusss dzirtusss force-pushed the sergey/controlplane-setup branch from 1fcc7b3 to 6320e54 Compare November 2, 2022 17:25
- rails
additional_workloads:
- redis
- postgres
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dzirtusss why do we nee to list these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those are used in ps command atm - ps, ps:start, ps:stop, ps:restart. however, there is no clear plan about their future need atm

@dzirtusss dzirtusss force-pushed the sergey/controlplane-setup branch from 3b293bd to 2b595ad Compare November 23, 2022 20:21
RUN yarn install

COPY . .

RUN rake react_on_rails:locale && RAILS_ENV=production rake assets:precompile
RUN rails react_on_rails:locale && RAILS_ENV=production rails assets:precompile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to set NODE_ENV=production as well.

RUN yarn install

COPY . .

RUN rake react_on_rails:locale && RAILS_ENV=production rake assets:precompile
RUN rails react_on_rails:locale && RAILS_ENV=production rails assets:precompile

ENV RAILS_ENV=production
ENV NODE_ENV=production
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move these lines above the precompile.

@dzirtusss dzirtusss force-pushed the sergey/controlplane-setup branch from 4134386 to 41a1e7b Compare December 16, 2022 09:00
@dzirtusss dzirtusss force-pushed the sergey/controlplane-setup branch from 41a1e7b to 4b04f26 Compare December 16, 2022 09:06
@dzirtusss dzirtusss merged commit d5554fa into master Jan 3, 2023
@dzirtusss dzirtusss deleted the sergey/controlplane-setup branch January 3, 2023 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants