-
Notifications
You must be signed in to change notification settings - Fork 0
/
nbx.yml
44 lines (42 loc) · 824 Bytes
/
nbx.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
36
37
38
39
40
41
42
43
44
destinations:
- id: username/app-prod
alias: production
registry: myRegistry
- id: username/app-backup
alias: backup
registry: someRegistry
- id: username/app-staging
alias: staging
registry: aRegistry
- id: username/app-bob
alias: bob
registry: bobsspecialregistry.com
resources:
- id: db
image: nanobox/mysql
options:
foo: bar
baz: qux
- id: queue
image: nanobox/redis
services:
- id: web
containers:
- id: nginx
image: Dockerfile.nginx
- id: app
image: Dockerfile.app
http_port: 8080
force_ssl: true
health_check: /health
routes:
- 'admin:'
- '^/admin/'
tcp:
- 5555:5555
udp:
- 9654:10000
- id: worker
containers:
- id: app
image: Dockerfile.worker