hackforla / hackforla/website

Update Docker Compose Dev With New Features

Open
#1,443 6 comments 0 reactions 0 assignees View on GitHub
Complexity: Large Dependency Feature: Infrastructure manual dependency release role: back end/devOps size: 2pt
Dominant language
JavaScript
Stars
363
Forks
872
Avg merge
2d 21h
Merged PRs (30d)
18

Description

### Dependency
A person who has risen to the merge team and who is experiencing docker reloading the entire code base on every change and who wants to take this issue on. see notes

### Overview
We need to update our docker-compose file such that it is dynamic and based off off `.env` file settings.

### Action Items
- [ ] Docker Compose Should have the following variables coming from an `.env` file such that they are configurable.
- The `image` key
- The output `ports` value
- [ ] The docker compose should also go through some additional pre-build steps before it runs jekyll serve. These pre build steps should be configured in such a way that it is possible to turn on/off an individual pre-build step. At the moment, these steps includes:
- Running an scss linter
- Running an ES linter
- #1441
- #1442

- [ ] **For merge team:** Once the PR related to this issue is merged and this issue is closed, please edit section [1.6.a](https://github.com/hackforla/website/blob/gh-pages/CONTRIBUTING.md#16a-starting-docker) in the contributing.md file accordingly.

### Resources/Instructions
More details available in issue ##1273

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.