https://github.com/daliborgogic/dlbr-dockerapp
https://github.com/daliborgogic/dlbr-dockerapp
docker docker-compose
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/daliborgogic/dlbr-dockerapp
- Owner: daliborgogic
- Created: 2018-06-22T20:34:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-30T08:54:46.000Z (about 8 years ago)
- Last Synced: 2025-02-14T09:57:51.082Z (over 1 year ago)
- Topics: docker, docker-compose
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dlbr-dockerapp
> Make your Docker Compose applications reusable, and share them on Docker Hub
```bash
$ docker-app render | docker-compose -f - up
```
If you prefer you can create a standalone configuration file to store those settings. Let's create prod.yml with the following contents:
```yml
version: 0.2.3
text: hello production
port: 4567
```
You can then run using that configuration file like so:
```bash
$ docker-app render -f prod.yml | docker-compose -f - up
```
## Installation
```bash
$ wget https://github.com/docker/app/releases/download/v0.2.0/docker-app-linux.tar.gz
$ tar xf docker-app-linux.tar.gz
$ cp docker-app-linux /usr/local/bin/docker-app
```
## Usage
```bash
$ docker-app
Docker App Packages
Usage:
docker-app [command]
Available Commands:
helm Render the Compose file for this app as an Helm package
help Help about any command
init Initialize an app package in the current working directory
inspect Retrieve metadata for a given app package
render Render the Compose file for this app
version Print version information
Flags:
-h, --help help for docker-app
Use "docker-app [command] --help" for more information about a command.
```