Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ast21/docker-collection
https://github.com/ast21/docker-collection
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ast21/docker-collection
- Owner: ast21
- Created: 2022-10-22T05:24:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-23T01:34:49.000Z (5 months ago)
- Last Synced: 2024-12-10T20:20:11.061Z (2 months ago)
- Language: Shell
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker containers collection
## Requirements
- GIT
- [Docker v19.03.0+](https://docs.docker.com/get-docker/)
- Docker Compose specification v3.8## Installation
1. Clone repo with command:
```shell
git clone https://github.com/ast21/docker-collection.git
```2. Create `.env` file and set environments
```shell
cp .env.example .env
```3. Create docker networks
```shell
docker network create traefik
docker network create databases
docker network create tools
```## Usage
Run one container:
```shell
docker compose up -d postgresql
```or run multiple containers:
```shell
docker compose up -d postgresql adminer
```### Overriding compose file
Create file `docker-compose.override.yaml`.
```shell
cp docker-compose.override.yaml.example docker-compose.override.yaml
```See the example:
```yaml
# docker-compose.override.yamlservices:
postgresql:
ports: [ "5432:5432" ]
```Then run your container.
## License
[MIT](https://choosealicense.com/licenses/mit/)