-
Notifications
You must be signed in to change notification settings - Fork 0
/
container.yml
36 lines (32 loc) · 851 Bytes
/
container.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: "2"
settings:
conductor_base: ubuntu:16.04
volumes:
- temp-space:/tmp # Used to copy static content between containers
services:
tini-runit:
from: ubuntu:16.04
container_name: api
roles:
- {
role: "softasap.sa-container-bootstrap",
container_init: "tini-init"
}
- {
role: "softasap.sa-nginx-container",
container_init: "tini-init" # optionally uses runit for services management and upstart.
}
- {
role: "../custom-roles/app-nginx-stub-deploy",
container_init: "tini-init"
}
expose:
- '8000'
- '22'
volumes:
- temp-space:/tmp # Used to copy static content between containers
environment:
IN_DOCKER: "1"
volumes:
temp-space:
docker: {}