{"id":15136306,"url":"https://github.com/borntoberoot/docker-compose","last_synced_at":"2025-10-23T11:31:27.595Z","repository":{"id":191056764,"uuid":"683552806","full_name":"BornToBeRoot/docker-compose","owner":"BornToBeRoot","description":"Collection of my docker compose stacks (traefik, pihole doh, nextcloud, mosquitto, portainer, homeassistant, etc.)","archived":false,"fork":false,"pushed_at":"2024-12-11T01:14:11.000Z","size":44,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T18:05:36.471Z","etag":null,"topics":["dns-over-https","docker","docker-compose","homeassistant","homer","mosquitto","nextcloud","pi-hole","portainer","traefik"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BornToBeRoot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-27T00:03:21.000Z","updated_at":"2024-12-11T01:14:17.000Z","dependencies_parsed_at":"2024-03-17T23:21:12.350Z","dependency_job_id":"1089a6e7-3890-4ced-9a15-3451792abe86","html_url":"https://github.com/BornToBeRoot/docker-compose","commit_stats":null,"previous_names":["borntoberoot/docker-compose"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BornToBeRoot%2Fdocker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BornToBeRoot%2Fdocker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BornToBeRoot%2Fdocker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BornToBeRoot%2Fdocker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BornToBeRoot","download_url":"https://codeload.github.com/BornToBeRoot/docker-compose/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237821530,"owners_count":19371779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dns-over-https","docker","docker-compose","homeassistant","homer","mosquitto","nextcloud","pi-hole","portainer","traefik"],"created_at":"2024-09-26T06:20:27.421Z","updated_at":"2025-10-23T11:31:27.589Z","avatar_url":"https://github.com/BornToBeRoot.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-compose\n\nCollection of my docker compose stacks for various services.\n\n## Stacks\n\n- **[traefik][traefik_readme]** - Traefik reverse proxy, load balancer and certificate manager\n\n  \u003e **NOTE:** Most other stacks require this stack to be running\n\n- **[pihole_doh][pihole_doh_readme]** - Pi-hole with DNS over HTTPS (DoH)\n- **[mosquitto][mosquitto_readme]** - Mosquitto MQTT broker\n- **[portainer_agent][portainer_agent_readme]** - Portainer Agent for remote management of Docker\n\nCOMING SOON:\n\n- homeassistant - Home Assistant home automation\n- homer - Homer dashboard for your services\n- Nextcloud - Nextcloud self-hosted file sync and share with Collabora Online integration\n- portainer - Portainer management UI for Docker\n- CUPS - CUPS print server\n\n## Pre-requirments\n\nUsing these stacks requires a server with Docker and Docker Compose v2 installed.\n\n```bash\n# Ubuntu 24.04\napt install docker.io docker-compose-v2\n```\n\nFiles are stored in `/opt/container` on the server (but can be changed, depending on your needs).\n\n```bash\n# Create directory\nmkdir -p /opt/container\n\n# Clone repository\ngit clone https://github.com/BornToBeRoot/docker-compose /opt/container\n```\n\n\u003e **NOTE:** The `.env` files may contain sensitive information and should be protected accordingly.\n\u003e  \n\u003e ```bash\n\u003e # Restrict access\n\u003e chmod 640 /opt/container/stacks/*/.env\n\u003e chown root:root /opt/container/stacks/*/.env\n\u003e ```\n\n## Update all stacks\n\nTo automatically update all stacks, you can use the [`update_all_stacks.sh`](./update_all_stacks.sh) script that will iterate over all directories and pull the latest container images and restart the services.\n\n```bash\n# Copy script to /opt/scripts\nmkdir -p /opt/scripts\ncp ./update_all_containers.sh /opt/scripts/update_all_containers.sh\n\n# Make script executable\nchmod +x /opt/scripts/update_all_containers.sh\n\n# Create cronjob\nnano /etc/crontab\n```\n\nAdd the following line to run the script every tuesday at 1:33:\n\n```plaintext\n\n33 1    * * 2   root    /opt/scripts/update_all_stacks.sh\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n[mosquitto_readme]: ./stacks/mosquitto/\n[pihole_doh_readme]: ./stacks/pihole_doh/\n[portainer_agent_readme]: ./stacks/portainer_agent/\n[traefik_readme]: ./stacks/traefik/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborntoberoot%2Fdocker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborntoberoot%2Fdocker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborntoberoot%2Fdocker-compose/lists"}