-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (47 loc) · 1.08 KB
/
docker-compose.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
45
46
47
version: '2'
services:
rdb:
image: rethinkdb
ports:
- "8080"
- "28015"
- "29015"
horizon:
build:
context: .
dockerfile: Dockerfile.horizon
image: ubergarm/horizon
volumes:
- ./realtime:/app
command: serve --dev --allow-anonymous --connect rdb:28015 --bind 0.0.0.0
links:
- "rdb"
ports:
- "8181"
depends_on:
- rdb
express:
image: ubergarm/horizon
volumes:
- ./rest:/app
entrypoint: node
command: app.js
links:
- "horizon"
ports:
- "3000"
depends_on:
- horizon
caddy:
build:
context: .
dockerfile: Dockerfile.caddy
image: ubergarm/caddy
volumes:
- ./html:/html
- ./Caddyfile:/caddy/Caddyfile
# TODO
# map `.caddy` to save ACME certs
ports:
- "0.0.0.0:80:80"
- "0.0.0.0:443:443"