-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
47 lines (47 loc) · 1 KB
/
docker-compose.yaml
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
version: "3"
services:
vserver3:
container_name: vss
image: visionect/visionect-server-v3
privileged: true
ulimits:
core: 0
depends_on:
- redis
- postgres_db
cap_add:
- MKNOD
- SYS_ADMIN
devices:
- "/dev/fuse:/dev/fuse"
restart: always
links:
- "postgres_db:postgres"
- "redis:redis"
ports:
- 80:8081
- 11113:11113
environment:
- DB2_1_PORT_5432_TCP_ADDR=postgres
- DB2_1_PORT_5432_TCP_USER=visionect
- DB2_1_PORT_5432_TCP_PASS=visionect
- DB2_1_PORT_5432_TCP_DB=koala
- REDIS_ADDRESS=redis:6379
volumes:
- /dev/shm:/dev/shm
postgres_db:
container_name: pdb
image: postgres:latest
restart: always
ports:
- 5432:5432
environment:
- POSTGRES_USER=visionect
- POSTGRES_DB=koala
- POSTGRES_PASSWORD=visionect
- PGPASSWORD=visionect
volumes:
- ./pgdata:/var/lib/postgresql/data
redis:
image: redis
restart: always