====== Systems - Media Server - Set Up the Mediaserver Docker Compose File ======
Edit the **docker-compose-mediaserver.yml** and populate with...
----
===== Define Default Network =====
networks:
default:
driver: bridge
**NOTE:** This defines one network called **default**.
* **driver: bridge** - The default bridge network is created automatically when Docker is installed.
* It provides basic networking capabilities for containers running on the same host.
* Containers connected to the bridge network can communicate with each other using their IP addresses or container names.
----
===== Add Docker Media Server Containers =====
networks:
default:
driver: bridge
include:
# HOSTNAME defined in .env file
- compose/$HOSTNAME/socket-proxy.yml
- compose/$HOSTNAME/nginx-proxy-manager.yml
env_file:
- '.env'
**NOTE:** Each app or service will be defined into its own yaml file.
* These individual services will be added into that include block in the main Docker Compose file.
----