-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
30 lines (29 loc) · 913 Bytes
/
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
version: '2.2'
services:
master:
container_name: "${COMPOSE_PROJECT_NAME:-citus}_master"
image: 'citusdata/citus:9.2.1'
ports: ["${MASTER_EXTERNAL_PORT:-5432}:5432"]
labels: ['com.citusdata.role=Master']
worker:
image: 'citusdata/citus:9.2.1'
labels: ['com.citusdata.role=Worker']
depends_on: { manager: { condition: service_healthy } }
scale: 3
manager:
container_name: "${COMPOSE_PROJECT_NAME:-citus}_manager"
image: 'citusdata/membership-manager:0.2.0'
volumes: ['/var/run/docker.sock:/var/run/docker.sock']
depends_on: { master: { condition: service_healthy } }
ds:
container_name: ds
image: '${COMPANY_NAME:-onlyoffice}/${DS_CONTAINER_NAME:-"documentserver-ie:latest"}'
ports:
- '80:80'
environment:
- DB_HOST=master
- DB_NAME=postgres
- DB_USER=postgres
stdin_open: true
depends_on:
- 'master'