Skip to content

Instantly share code, notes, and snippets.

@bkatiemills
Last active April 10, 2019 15:19
Show Gist options
  • Save bkatiemills/521f20c2e9adb7b8d2850210a2e53cf5 to your computer and use it in GitHub Desktop.
Save bkatiemills/521f20c2e9adb7b8d2850210a2e53cf5 to your computer and use it in GitHub Desktop.
# This section contains your application metadata.
version: 0.1.0
name: hello
description: "an app file demo"
maintainers:
- name: moby
email: "[email protected]"
targets:
swarm: true
---
# This section contains the Compose file that describes your application services.
version: "3.2"
services:
hello:
image: training/http-echo:2.1
command: ["-text", "${text}"]
ports:
- "${port}:5678"
---
# This section contains the default values for your application settings.
port: 5678
text: hello development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment