Skip to content

Commit

Permalink
Merge pull request #327 from tighten/chore/network-readme
Browse files Browse the repository at this point in the history
Add documentation for the network details
  • Loading branch information
tonysm authored May 3, 2024
2 parents af89a26 + 2476204 commit d9943e0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,16 @@ Now, if you run `takeout list`, you'll see both services running at the same tim
+--------------+----------------+---------------+-----------------------------------+
```

## Network Details

Takeout containers are automatically added to a Docker network named `takeout`. This allows you to use the same aliasing and base aliasing that is used for the other containers.

Each container is given two aliases on this network:
- A base_alias based on the core dependency name (e.g. mysql, postgres)
- A full_alias combining the base alias and version (e.g. mysql8.0, postgres13)

Other containers on the takeout network can access Takeout containers by their aliases. [Check this article on how you can use sail and takeout together](https://mattstauffer.com/blog/how-to-use-takeout-to-add-new-services-to-laravel-sail-and-save-ram/)

## FAQs

<details>
Expand Down

0 comments on commit d9943e0

Please sign in to comment.