2024-08-18 16:54:40 -07:00
2024-08-01 20:08:19 -07:00
2024-07-21 23:48:24 -07:00
2024-08-01 14:24:06 -07:00
2024-08-08 15:13:15 -07:00
2024-08-01 12:40:38 -07:00
2024-07-26 20:24:58 -07:00
2024-08-08 21:43:11 -07:00
2020-04-25 15:52:39 -07:00
2024-08-07 14:54:04 -07:00
2024-06-30 17:48:44 -07:00
2024-08-08 13:08:07 -07:00
2024-08-15 16:33:50 -07:00
2024-07-28 14:48:15 -07:00
2023-07-20 20:41:28 -07:00
2024-04-27 17:53:04 -07:00
2024-08-18 16:54:40 -07:00
2024-04-27 17:53:04 -07:00
2024-08-08 16:00:33 -07:00
2024-04-22 10:24:49 -07:00
2024-08-08 16:23:46 -07:00
2024-08-08 17:03:13 -07:00
2024-08-18 16:27:25 -07:00
2024-08-01 20:08:19 -07:00
2024-08-01 14:24:06 -07:00
2024-08-10 01:27:37 -07:00
2024-08-08 22:16:45 -07:00
2020-04-25 15:52:39 -07:00
2020-04-25 10:40:59 -07:00
2024-08-08 15:13:15 -07:00
2024-04-24 10:44:57 -07:00
2024-08-17 21:55:09 -07:00
2020-04-28 14:59:52 -07:00
2024-07-26 10:25:34 -07:00
2024-06-27 20:53:15 -07:00
2024-04-24 10:44:57 -07:00
2024-07-31 19:14:48 -07:00
2024-08-17 21:55:09 -07:00
2024-07-19 11:24:57 -07:00
2024-08-11 22:09:45 -07:00
2020-04-25 15:52:39 -07:00
2024-06-24 12:38:22 -07:00
2024-07-26 12:58:52 -07:00
2024-07-21 18:35:02 -07:00

Description of SVG

👤 Author: Nick Yeoman.

These cookbooks are created with the intent of using Docker's extend feature. This way, you can run multiple containers in different domains but still have only one file to update.

🤔 Assumptions

These compose files make a few assumptions:

  1. You are only running on one host.
  2. You are using Nginx Proxy Manager (although most have redundant port access).
  3. Volumes are stored in the project folder under "data", git ignored and backed up externally.

📚 Workflow

The intended workflow is as follows:

  1. Clone the cookbook repository locally git clone git@github.com:nickyeoman/docker-compose-cookbooks.git /git-repos/docker-compose-cookbooks
  2. Change to the directory cd /git-repos/docker-compose-cookbooks
  3. Run the helper cli wizard: bash helper.bash
  4. Commit the new project to git.

You will likely want to override a number of things in the project folder, such as networks.

🔍 Example Result

Here is an example of how your project's docker-compose file might look:

version: '3.4'

networks:
  proxy:
    external: true

services:
  proxy:
    extends:
      file: ${COOKBOOK}/nginx-proxy-manager/docker-compose.yml
      service: proxy
    env_file:
      - .env
    networks:
      - proxy

with the .env file:

COOKBOOK=/git-repos/docker-compose-cookbooks
S
Description
Backup copy
Readme
757 KiB
Languages
Python 31.8%
Shell 29.6%
HTML 22.7%
Dockerfile 15.9%