-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.dist.yaml
59 lines (57 loc) · 1.66 KB
/
docker-compose.override.dist.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
48
49
50
51
52
53
54
55
56
57
58
59
version: '3.7'
services:
ts_watch:
user: "1000"
api:
ports:
- 127.0.0.1:7000:4000
#---- project groups
#services:
# api:
# environment:
# CONTEMBER_PROJECT_GROUP_DOMAIN_MAPPING: '^api-([^.]+)\..+'
# CONTEMBER_PROJECT_GROUP_CONFIG_HEADER: 'X-Contember-Project-Group-Config'
# CONTEMBER_PROJECT_GROUP_CONFIG_ENCRYPTION_KEY: '0000000000000000000000000000000000000000000000000000000000000000'
# --- replicas setup
#services:
# db:
# image: bitnami/postgresql:14
# restart: unless-stopped
# environment:
# POSTGRESQL_USERNAME: contember
# POSTGRESQL_PASSWORD: contember
# POSTGRESQL_DATABASE: contember
# POSTGRESQL_REPLICATION_MODE: master
# POSTGRESQL_REPLICATION_USER: contember_repl
# POSTGRESQL_REPLICATION_PASSWORD: contember_repl
# POSTGRESQL_PGAUDIT_LOG: READ,WRITE
# volumes:
# - pgsql-data:/var/lib/postgresql/data
# healthcheck:
# test: [ 'CMD-SHELL', 'pg_isready -U contember' ]
# interval: 5s
# timeout: 5s
# retries: 10
#
# db_replica:
# image: bitnami/postgresql:14
# restart: unless-stopped
# environment:
# POSTGRESQL_USERNAME: contember
# POSTGRESQL_PASSWORD: contember
# POSTGRESQL_MASTER_HOST: db
# POSTGRESQL_MASTER_PORT_NUMBER: 5432
# POSTGRESQL_REPLICATION_MODE: slave
# POSTGRESQL_REPLICATION_USER: contember_repl
# POSTGRESQL_REPLICATION_PASSWORD: contember_repl
# POSTGRESQL_PGAUDIT_LOG: READ,WRITE
# ports:
# - "5433:5432"
# volumes:
# - pgsql-read-data:/var/lib/postgresql/data
# depends_on:
# - db
# api:
# DEFAULT_DB_READ_HOST: 'db_replica'
#volumes:
# pgsql-read-data: ~