Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steveanik/docker
A collection of docker-compose files.
https://github.com/steveanik/docker
Last synced: about 1 month ago
JSON representation
A collection of docker-compose files.
- Host: GitHub
- URL: https://github.com/steveanik/docker
- Owner: SteveAnik
- Created: 2024-02-22T02:03:45.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-22T02:46:11.000Z (11 months ago)
- Last Synced: 2024-02-22T03:23:33.734Z (11 months ago)
- Language: Python
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-compose
A collection of docker-compose files.
I personally use those files with the traefik reverse proxy. If you don't use it, just comment the labels and networks sections related to traefik (you also might have to add/uncomment the ports section).
If you see variables like `$DATA_FOLDER` in a docker-compose.yml file, just put a file called `.env` in the same directory as the docker-compose.yml file with this content:
```
DATA_FOLDER=/path/to/data
```## Usage
If you want to use traefik, start the traefik container first and create a .env file in every subfolder you use containing the following
```
DEFAULT_NETWORK=traefik-network
DOMAIN=yourdomain.home
```Depending on the container, you might have to create an .env file and fill in variables for the container to work (i.e. to set up export folder) even if you don't use traefik.
If you don't want to use traefik, comment the labels/networks and uncomments the ports to use plain docker.
Run a docker-compose file
```
docker-compose up -d
```Stop
```
docker-compose down
```