-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
101 lines (91 loc) · 1.67 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
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
94
95
96
97
98
99
100
101
version: '2'
services:
backend:
build:
context: ./
dockerfile: Dockerfile
image: nanocloud/backend
volumes:
- static:/opt/back/assets/dist
env_file:
- config.env
networks:
- nanocloud
depends_on:
- postgres
- storage
restart: always
frontend:
build:
context: ./assets
dockerfile: Dockerfile
image: nanocloud/frontend
volumes:
- static:/opt/dist
networks:
- nanocloud
proxy:
build: ./proxy
image: nanocloud/proxy
ports:
- 80:80
- 443:443
depends_on:
- backend
networks:
- nanocloud
restart: always
storage:
build: ./storage
image: nanocloud/storage
environment:
- PLAZA_PORT=9090
ports:
- 445/udp:445/udp
- 445:445
- 9090:9090
networks:
- nanocloud
depends_on:
- plaza
volumes:
- plaza:/opt/plaza
restart: always
plaza:
build: ./plaza
image: nanocloud/plaza
environment:
- GOOS=linux
- GOARCH=amd64
networks:
- nanocloud
volumes:
- plaza:/go/src/github.com/Nanocloud/nanocloud/plaza/
guacamole-client:
build: ./guacamole-client
image: nanocloud/guacamole-client
networks:
- nanocloud
restart: always
guacd:
build: ./guacd
image: nanocloud/guacd
networks:
- nanocloud
restart: always
postgres:
image: postgres:9.5.3
environment:
- PGDATA=/var/lib/postgresql/data/pgdata
- POSTGRES_USER=nanocloud
networks:
- nanocloud
restart: always
networks:
nanocloud:
driver: bridge
volumes:
static:
driver: local
plaza:
driver: local