Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ngc7331/docker-compose
https://github.com/ngc7331/docker-compose
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ngc7331/docker-compose
- Owner: ngc7331
- Created: 2023-12-08T08:55:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-15T16:51:34.000Z (3 months ago)
- Last Synced: 2024-11-19T09:52:53.806Z (2 months ago)
- Language: Shell
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker compose
Repo for my docker-compose filesEach application's files are on a separate branch
## Notes
### User-defined network
Applications may use a external custom network as follows:```
networks:
br:
external: true
name: ${DOCKER_NETWORK:-br}
```create it manually by `docker network create ${DOCKER_NETWORK:-br}` if needed
### Unexposed WebUI
In most cases, run applications behind a reverse proxy is recommended, so ports for WebUI is not exposed in the base `docker-compose.yml` file by default.You can set up a reverse proxy using docker and connect it to [the `br` network](#user-defined-network), then it's possible to use the container name as the hostname to connect to the application.
Alternatively, you can use `docker-compose.port.webui.yml` file as described in [Extra compose files](#extra-compose-files) to expose WebUI ports. The default ports are the same as inside container, you can change them using environment variables `PORT_WEBUI_HTTP` and `PORT_WEBUI_HTTPS` (if the app provides https connection).
### Extra compose files
Each branch has a `docker-compose.yml` as base file, but some applications may need extra files to work as you wish. For example, to add hardware-accelerated video decoding to Jellyfin, a series of `docker-compose.ha..yml` are provided.To use them, you can use multiple `-f` flags to specify extra files. Please refer to [official documentation](https://docs.docker.com/compose/reference/overview/#specifying-multiple-compose-files) for more information.
### Use of mirror
You can use `DOCKER_MIRROR= docker compose up` to pull from a mirror instead of the default docker.io or lscr.io, etc.Set from `.env` file is also supported.
### Application-specific notes
In some cases, there will be application-specific notes below.---