Skip to content

Instantly share code, notes, and snippets.

@x-ji
Created December 12, 2019 19:39
Show Gist options
  • Select an option

  • Save x-ji/fe6730c914511e33ba2e601b723cf9a3 to your computer and use it in GitHub Desktop.

Select an option

Save x-ji/fe6730c914511e33ba2e601b723cf9a3 to your computer and use it in GitHub Desktop.

Revisions

  1. x-ji created this gist Dec 12, 2019.
    12 changes: 12 additions & 0 deletions Markdium-YAML.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    services:
    your_app: &app
    build:
    context: ./app
    ports:
    - 4000:4000
    # ...

    your_app_2:
    <<: *app
    ports:
    - 4001:4000