Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smonn/docker-compose-example
https://github.com/smonn/docker-compose-example
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/smonn/docker-compose-example
- Owner: smonn
- Created: 2020-04-21T17:41:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-22T16:43:05.000Z (over 3 years ago)
- Last Synced: 2023-03-11T01:51:53.132Z (almost 2 years ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic docker-compose example
This is a basic example for how to run docker-compose with
nginx as a proxy to map paths to ports of other services,
without exposing the actual service port.> Note that this is not for production use and just meant
> to serve as an introductory example.## Commands
See the [Docker Compose documentation][docs] for details
```sh
# build and start the services
docker-compose up --build --detach
``````sh
# stop and remove the services
docker-compose down
```[docs]: https://docs.docker.com/compose/