-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
45 lines (43 loc) · 1.28 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: '3'
services:
# lightstream:
# build:
# context: .
# dockerfile: Dockerfile # Adjust if your Dockerfile has a different name
# args:
# FDB_VERSION: ${FDB_VERSION}
# network_mode: host
# environment:
# FDB_COORDINATOR: ${FDB_COORDINATOR}
# FDB_API_VERSION: ${FDB_API_VERSION}
# ports:
# - 50051:50051/tcp
# depends_on:
# - fdb-coordinator
# - fdb-server-1
# - fdb-server-2
# Specify three fdbserver processes.
fdb-coordinator:
image: foundationdb/foundationdb:${FDB_VERSION}
ports:
- 4500:4500/tcp
environment:
FDB_COORDINATOR: ${FDB_COORDINATOR}
FDB_NETWORKING_MODE: ${FDB_NETWORKING_MODE}
FDB_COORDINATOR_PORT: ${FDB_COORDINATOR_PORT}
fdb-server-1:
depends_on:
- fdb-coordinator
image: foundationdb/foundationdb:${FDB_VERSION}
environment:
FDB_COORDINATOR: ${FDB_COORDINATOR}
FDB_NETWORKING_MODE: ${FDB_NETWORKING_MODE}
FDB_COORDINATOR_PORT: ${FDB_COORDINATOR_PORT}
fdb-server-2:
depends_on:
- fdb-coordinator
image: foundationdb/foundationdb:${FDB_VERSION}
environment:
FDB_COORDINATOR: ${FDB_COORDINATOR}
FDB_NETWORKING_MODE: ${FDB_NETWORKING_MODE}
FDB_COORDINATOR_PORT: ${FDB_COORDINATOR_PORT}