forked from kobotoolbox/kobo-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.backend.primary.override.yml.sample
67 lines (61 loc) · 2.17 KB
/
docker-compose.backend.primary.override.yml.sample
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
# Override for primary back-end server
version: '2.2'
services:
postgres:
#environment:
# - POSTGRES_BACKUP_FROM_SECONDARY=True
# Uncomment `ports` section if you want to expose ports (e.g. use as separated servers)
# Before uncommenting, be sure you have a firewall configured to prevent these ports
# from being publicly accessible
#ports:
# - 5432:5432
# Comment out `networks` section below if you want to expose ports
networks:
kobo-be-network:
aliases:
- postgres.kobo.private
mongo:
# Uncomment `ports` section if you want to expose ports (e.g. use as separated servers)
# Before uncommenting, be sure you have a firewall configured to prevent these ports
# from being publicly accessible
#ports:
# - 27017:27017
# Comment out section below if you want to expose ports
networks:
kobo-be-network:
aliases:
- mongo.kobo.private
# Comment out section (`redis_main` and `redis_cache`) below if you want to
# start redis containers from the secondary back-end server
redis_main:
extends:
file: docker-compose.backend.template.yml
service: redis_main
# Uncomment `ports` section if you want to expose ports (e.g. use as separated servers)
# Before uncommenting, be sure you have a firewall configured to prevent these ports
# from being publicly accessible
#ports:
# - 6379:6379
# Comment out `networks` section below if you want to expose ports
networks:
kobo-be-network:
aliases:
- redis-main.kobo.private
redis_cache:
extends:
file: docker-compose.backend.template.yml
service: redis_cache
# Uncomment `ports` section if you want to expose ports (e.g. use as separated servers)
# Before uncommenting, be sure you have a firewall configured to prevent these ports
# from being publicly accessible
#ports:
# - 6380:6380
# Comment out `networks` section below if you want to expose ports
networks:
kobo-be-network:
aliases:
- redis-cache.kobo.private
# Comment out section below if you want to expose ports
networks:
kobo-be-network:
driver: bridge