Containerize Dogehouse
See original GitHub issueAbout the Problem
Installing dependencies for the backend (Elxir API / Voice/WSS server) and frontend (React webapp / Puppeteer shenanigans AKA UI Tests and Lighthouse checks) is a mess and may cause dependency hell if left unmanged, and running them one-by-one can be also an distater.
Solution and To-Dos
- Make an
docker-compose.yml
file in the root directory that includes each subdirectiry’s Dockerfiles required for running the instance + database backend. - Create an
Dockerfile
on each folder in the Dogehouse monorepo.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
How to Create an Epic Dog House With a Shipping Container
Are you looking for a new do-it-yourself project that will benefit you and your furry friend? Building your dog a house can be...
Read more >dogehouse 0.1.0 vulnerabilities | Snyk - Snyk Vulnerability Database
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities (in both your packages & their dependencies) and provides ...
Read more >39 Days Later the New Design is "Done" - Morioh
I've been working on a redesign for DogeHouse and its finally live. https://dogehouse.tv/ · https://github.com/benawad/dogehouse. #developer ...
Read more >DogeHouse - DogeHouse Docs
Structure ; shawarma. Voice Server ; dinner. Puppeteer shenanigans ; baklava. Electron Wrapper ; pilaf. React Native App ; feta. Shared utils web/app....
Read more >How to package an Electron app as snap from an monorepo
... https://github.com/benawad/dogehouse/tree/new-design/baklava)? ... that lets you start a container with Docker's --privileged flag.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Salman2301
Ah ye my bad, the Dockerfile is building a release so it will always run the releases.exs file.
The underlying issue is that you can’t use the current Dockerfile in dev (even when removing ENV MIX_ENV=prod) because the settings in releases.exs will overlap with the settings in dev.exs.
Creating a separate Dockerfile that doesn’t build a release and instead just calls mix run would be a decent temporary solution for now I think.
Could be interesting to also add add adminer to the docker-compose file, It’s extremely light weight and can be useful for testing.
Would be:
Data for postgres is located at /var/lib/postgresql/data so to add a volume we would need to add: