DON'T use this..... No, really, don't use it!!
345
Quick and dirty Flask app to control (recreate and update) docker compose projects.
Only really useful if your compose files are structured the same as mine and you don't mind mounting /var/run/docker.sock and your existing compose files into a container with no built-in authentication. See, I told you not to use it :)
This container assumes your compose files are organised as follows AND all your compose files are named compose.yaml (for now)
docker/
├─ app1/
│ ├─ compose.yaml
│ ├─ .env
├─ app2/
│ ├─ compose.yaml
│ ├─ .env
If you really like living dangerously, this is an example compose file. Note the path/to/docker volume!
services:
compose-manager:
image: dansharpy/compose-manager:latest
container_name: compose-manager
restart: unless-stopped
ports:
- 5000:5000
environment:
- "NTFY_ADDRESS=https://ntfy.sh/topic"
- "GUNICORN_WORKERS=2" # default 2
- "GUNICORN_THREADS=2" # default 2
- "BUTTON1_LABEL=hello"
- "BUTTON1_URL=https://some.url"
- "BUTTON2_LABEL=world"
- "BUTTON2_URL=https://some.other.url"
- "PROJECT_LOGS_ENABLED=true"
volumes:
- path/to/docker:/compose:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
Notes:
PROJECT_LOGS_ENABLED is set to true, you can click on the project name to show the logs!NTFY_URL is not set then notifications won't be sentContent type
Image
Digest
sha256:e1a920c97…
Size
143.7 MB
Last updated
over 1 year ago
docker pull dansharpy/compose-manager