Archived 2021-05-04
A UI for managing docker containers and docker-compose stacks.
The background for this project was a desire for a lighter-weight portainer, without its various shortcomings or support for things like Kubernetes.
- Look at all your running containers!
- Create docker-compose stacks through the web ui!
- Inspect your docker-compose stacks!
- Inspect/modify/delete networks, volumes and images!
- Dark Mode 😎
The web client is built using Vue (2.x) and the backend is written in Python with the Flask framework.
These both get smushed together into a Docker image by a Github workflow in this repo, and published to the Github Container Registry (ghcr.io).
The app stores some local state (mostly stack metadata) in a sqlite database.
docker-compose
will be bundled in the docker image, but for now it's just
broken.
Uh....ok. You are a bold one.
docker run -p 11111:5000 -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/phybros/stackcenter:latest
StackCenter should now be running at http://localhost:11111.
So you want to work on StackCenter...
- Docker & Docker Compose
- Python 3.7+
- Node 10
- Yarn
- A good attitude and positive outlook
- Clone the repo
cd frontend
cp .env.local.sample .env.local
- this will make sure your local yarn devserver hits the local flask app on port 5000yarn serve
- at this point the app should come up on http://localhost:8080 but won't work properly until we run the backend- In a new terminal window...
cd backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python -m app
Now you have both the front and backend servers running locally and both with hot reload!
Please fork the repo and send Pull Requests!