Skip to content

Instantly share code, notes, and snippets.

@voronenko-p
Created September 20, 2017 14:10
Show Gist options
  • Save voronenko-p/db5db62855d95608c18c6e234b367ea2 to your computer and use it in GitHub Desktop.
Save voronenko-p/db5db62855d95608c18c6e234b367ea2 to your computer and use it in GitHub Desktop.
version: "2"
settings:
conductor_base: ubuntu:16.04
volumes:
- temp-space:/tmp # Used to copy static content between containers
services:
tini-supervisord:
from: ubuntu:16.04
container_name: api
roles:
- {
role: "softasap.sa-container-bootstrap",
container_init: "tini-init",
container_svc: "supervisord"
}
- {
role: "softasap.sa-nginx-container",
container_init: "tini-init",
container_svc: "supervisord"
}
- {
role: "../custom-roles/app-nginx-stub-deploy",
container_init: "tini-init",
container_svc: "supervisord"
}
expose:
- '8000'
- '22'
volumes:
- temp-space:/tmp # Used to copy static content between containers
environment:
IN_DOCKER: "1"
volumes:
temp-space:
docker: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment