forked from marmelab/uptime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (43 loc) · 1.03 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
watcher:
image: golang
environment:
GOPATH: /usr/src/watcher
CONFIG_PATH: /usr/src/watcher/src/marmelab.com/uptime/conf.json
volumes:
- .:/usr/src/watcher
working_dir: /usr/src/watcher/src/marmelab.com/uptime
command: go run main.go
links:
- "api"
- "website"
api:
image: golang
environment:
GOPATH: /usr/src/api
volumes:
- .:/usr/src/api
working_dir: /usr/src/api/src/marmelab.com/uptime/api
command: go run main.go
ports:
- "8383:8383"
links:
- "db"
website:
image: nginx
ports:
- "8282:82"
volumes:
- ./nginxContainer/static-html-directory:/usr/share/nginx/html
db:
image: postgres
volumes:
- .:/usr/src/db
webpack:
image: iojs:1.6.3
working_dir: /usr/src/webpack/front
volumes:
- .:/usr/src/webpack
working_dir: /usr/src/webpack/front
command: ./node_modules/.bin/webpack-dev-server --progress --hot --host=0.0.0.0
ports:
- "8080:8080"