forked from Nanocloud/nanocloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
93 lines (83 loc) · 1.91 KB
/
docker-compose-dev.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: '2'
services:
backend:
build:
context: ./
dockerfile: Dockerfile-dev
image: nanocloud/backend:dev
volumes:
- ./:/opt/back
env_file:
- config.env
network_mode: host
container_name: "backend"
frontend:
build:
context: ./assets
dockerfile: Dockerfile-dev
image: nanocloud/frontend:dev
volumes:
- ./assets:/opt
- ./proxy/certificates:/opt/ssl/:ro
network_mode: host
container_name: "frontend"
proxy:
image: nanocloud/proxy
volumes:
- ./proxy/nginx.dev.conf:/etc/nginx/conf.d/default.conf:ro
- ./proxy/certificates:/etc/nginx/ssl/:ro
depends_on:
- backend
network_mode: host
container_name: "proxy"
restart: always
storage:
image: nanocloud/storage
network_mode: host
container_name: "storage"
environment:
- PLAZA_PORT=9090
volumes:
- plaza:/opt/plaza
depends_on:
- plaza
storage-team:
image: nanocloud/storage
network_mode: host
container_name: "storage-team"
environment:
- PLAZA_PORT=9091
volumes:
- plaza:/opt/plaza
depends_on:
- plaza
plaza:
build: ./plaza
image: nanocloud/plaza
environment:
- GOOS=linux
- GOARCH=amd64
network_mode: host
volumes:
- plaza:/go/src/github.com/Nanocloud/nanocloud/plaza/
guacamole-client:
image: nanocloud/guacamole-client
volumes:
- ./guacamole-client/guac_home/guacamole.dev.properties:/etc/guacamole/guacamole.properties
network_mode: host
container_name: "guacamole-client"
restart: always
guacd:
image: nanocloud/guacd
network_mode: host
container_name: "guacd"
postgres:
image: postgres:9.5.3
environment:
- PGDATA=/var/lib/postgresql/data/pgdata
- POSTGRES_USER=nanocloud
network_mode: host
container_name: "postgres"
volumes:
plaza:
driver: local