-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
40 lines (39 loc) · 934 Bytes
/
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
version: "3"
services:
postgres_triple:
container_name: postgres_triple
image: postgres:9.5
volumes:
- pgdata_triple:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
networks:
- db-net
postgres:
container_name: postgres
image: postgres:9.5
volumes:
- pgdata:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
networks:
- db-net
collectiwise:
container_name: collectiwise
build: .
image: collectiwise/main:${COLL_TAG}
ports:
- "8090:80"
environment:
- COLLECTIWISE_BRANCH=${BRANCH}
networks:
- db-net
volumes:
pgdata:
pgdata_triple:
driver_opts:
o: bind
type: none
device: "/var/pgdata/triple"
networks:
db-net: