https://github.com/sohelamin/my-docker
My Docker Environment
https://github.com/sohelamin/my-docker
docker docker-environment
Last synced: 6 months ago
JSON representation
My Docker Environment
- Host: GitHub
- URL: https://github.com/sohelamin/my-docker
- Owner: sohelamin
- Created: 2016-10-29T14:40:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-19T17:07:12.000Z (almost 8 years ago)
- Last Synced: 2025-04-02T15:06:21.484Z (6 months ago)
- Topics: docker, docker-environment
- Language: PHP
- Size: 33.2 KB
- Stars: 18
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Docker Environment
## Included
- php
- nginx
- mariadb
- redis## Usage
// Up the containers
docker-compose up -d
// Down the containers
docker-compose down
// Shell into a container
docker exec -it mydocker_app_1 bash
// Get the IP Address of a contaner
docker inspect mydocker_nginx_1 | grep \"IPAddress
## Extra hosts
```
app:
...
...
extra_hosts:
- "mysite.dev:172.18.0.6"
```