Docker Compose is a tool for defining and running multi-container Docker applications. It allows you to define the services, networks, and volumes required for your application in a single YAML file, making it easy to spin up and manage complex applications with multiple containers. Using Docker Compose, you can start and stop multiple containers with a single command, and easily scale your application up or down as needed. It simplifies the process of setting up and managing a multi-container application, making it a popular tool for development and testing environments.
Category: Virtualization
How to install NextCloud via Docker
Nextcloud is an open-source platform for file-sharing and collaboration services. It provides a self-hosted and secure environment for managing files, calendars, contacts, tasks, and collaborating on documents. With Nextcloud, users can have control over their data and avoid relying on third-party cloud services. It offers strong security and privacy features, such as end-to-end encryption and two-factor authentication. Nextcloud is highly customizable with plugins and integrations and can be used for personal or enterprise-level collaboration.
Install a php script in PHP-FPM & Caddy via Docker
Install docker Either regular docker install or rootless. Create a new directory Create a new directory where you will store your Docker Compose file and PHP/html etc files. For example, you can create a directory called “phpapp” in your home directory: write a docker compose file paste the below code in a new file called… Continue reading Install a php script in PHP-FPM & Caddy via Docker
Install Caddy reverse proxy via Docker
Why caddy? These are just some of Caddy’s amazing features! Install Docker and Docker Compose if you haven’t already. View our docker guide here & our docker rootless guide here. Scenario: you have a new app you wrote or installed via docker called mycoolapp you want to allow the outside world to connect to this… Continue reading Install Caddy reverse proxy via Docker
Access Docker socket via TCP
Find the config file Edit config Add the following configuration to the file: This tells Docker to listen on TCP port 2375 on IP (192.168.1.10) and on the Unix domain socket at /var/run/docker.sock. Replace 192.168.1.10 with your LAN or VPN IP. The last line in that file must NOT have a comma after it, if… Continue reading Access Docker socket via TCP
How to install Docker rootless
Rootless Docker allows you to run Docker containers without requiring root access, improving security and compliance, simplifying management, and enhancing portability. Running Docker as a regular user reduces the risk of security vulnerabilities and enables compliance with policies. Rootless Docker is also easier to integrate into workflows and makes it simpler to move containers between different environments.