-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
82 lines (77 loc) · 1.84 KB
/
docker-compose.yml
File metadata and controls
82 lines (77 loc) · 1.84 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
version: '3'
services:
vcache_mgr:
image: vcache-mgr-node-red
build:
context: ./context
dockerfile: ./node-red/Dockerfile
container_name: vcache_mgr
hostname: ${VCACHE_MGR_HOSTNAME}
volumes:
- ./context/node-red/mgmt-data:/data # comment out for production
- var_run:/var/run
- nginx_log:/var/log/nginx
- etc_vcache:/etc/vcache-mgr
- etc_frontend:/etc/nginx-fe
networks:
- vcache_mgr_net
environment:
- VCACHE_MGR_VERSION=${VCACHE_MGR_VERSION}
- VCACHE_MGR_HOSTNAME=${VCACHE_MGR_HOSTNAME}
ports:
- 4505:4505
- 4506:4506
- 1880:1880 # close this for production
# pid: shareable
restart: always
depends_on:
- vcache_mgr_redis
vcache_mgr_frontend:
image: vcache-mgr-nginx-perl
build:
context: ./context
dockerfile: ./nginx/Dockerfile
container_name: vcache_mgr_frontend
hostname: ${VCACHE_MGR_HOSTNAME}
volumes:
- var_run:/var/run
- nginx_log:/var/log/nginx
- etc_frontend:/etc/nginx
networks:
- vcache_mgr_net
ports:
- 9443:8443
pid: service:vcache_mgr
restart: always
depends_on:
- vcache_mgr
vcache_mgr_redis:
image: redis/redis-stack
container_name: vcache_mgr_redis
volumes:
- redis_data:/data
networks:
- vcache_mgr_net
environment:
- ALLOW_EMPTY_PASSWORD=yes
- REDIS_ARGS="--safe-mode no"
# close this for production
ports:
- 6379:6379
restart: always
volumes:
nginx_log:
name: vcache_mgr_nginx_log
var_run:
name: vcache_mgr_var_run
etc_vcache:
name: vcache_mgr_etc_vcache
etc_frontend:
name: vcache_mgr_etc_frontend
redis_data:
name: vcache_mgr_redis_data
networks:
vcache_mgr_net:
name: vcache_mgr_net
driver: bridge
enable_ipv6: false