This repository was archived by the owner on Mar 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
113 lines (104 loc) · 2.66 KB
/
Copy pathdocker-compose-dev.yml
File metadata and controls
113 lines (104 loc) · 2.66 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
version: "3.4"
services:
# nginx-proxy:
# image: jwilder/nginx-proxy
# container_name: nginx-proxy
# restart: unless-stopped
# privileged: true
# ports:
# - "80:80"
# - "443:443"
# networks:
# - visualizard-frontend
# - visualizard-backend
# - visualizard-security
# volumes:
# - "./nginx/vhost.d:/etc/nginx/vhost.d"
# - "./nginx/html:/usr/share/nginx/html"
# - "./nginx/certs:/etc/nginx/certs"
# - "/var/run/docker.sock:/tmp/docker.sock:ro"
#
# letsencrypt-companion:
# image: jrcs/letsencrypt-nginx-proxy-companion
# container_name: letsencrypt-companion
# restart: unless-stopped
# hostname: letsencrypt-companion
# networks:
# - visualizard-security
# volumes:
# - "/var/run/docker.sock:/var/run/docker.sock:ro"
# volumes_from:
# - "nginx-proxy"
visualizard-client:
build:
context: visualizer/client/
dockerfile: Dockerfile
# args:
# APP_VERSION: ${CLIENT_APP_VERSION}
# NODE_VERSION: ${CLIENT_NODE_VERSION} #9.11.2
# image: visualizard-client:${CLIENT_APP_VERSION}
# command: ["npm", "run", "dev"]
container_name: visualizard-client
restart: always
ports:
- "45671:45671"
networks:
- visualizard-frontend
- visualizard-backend
# environment:
# VIRTUAL_HOST: visualizard.borgotech.cloud
# VIRTUAL_PORT: 8080
# LETSENCRYPT_HOST: visualizard.borgotech.cloud
# LETSENCRYPT_EMAIL: matteo.bogo@gmail.com
depends_on:
- visualizard-api
visualizard-api:
build:
context: visualizer/server/
dockerfile: Dockerfile
# command: ["npm", "start"]
container_name: visualizard-api
restart: always
hostname: visualizard-api
ports:
- "45670:45670"
networks:
- visualizard-backend
env_file:
- ./visualizer/server/api-dev.env
volumes:
- "${HOME}/public:/visualizard-api/public"
depends_on:
- redis
- mongodb
redis:
image: redis
container_name: redis
restart: always
hostname: redis
networks:
- visualizard-backend
ports:
- "6379"
mongodb:
image: mongo
container_name: mongodb
restart: always
hostname: mongodb
networks:
- visualizard-backend
ports:
- "27017"
# influxdb:
# image: influxdb
# container_name: influxdb
# restart: always
# hostname: influxdb
# networks:
# - visualizard-backend
# ports:
# - "8086"
networks:
visualizard-frontend:
visualizard-backend:
visualizard-security: