This repository has been archived by the owner on Sep 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
88 lines (84 loc) · 1.95 KB
/
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
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: "3"
services:
actordb1:
image: bytepixie/actordb:${ACTORDB_VERSION:-latest}
environment:
##
## actordb user's UserID and GroupID
##
- NEW_UID
- NEW_GID
ports:
- "33316:33306"
- "33317:33307"
volumes:
- "./node1/data:/var/lib/actordb"
- "./node1/etc:/etc/actordb"
- "./node1/logs:/var/log/actordb"
networks:
default:
aliases:
- actordb1.local
actordb2:
image: bytepixie/actordb:${ACTORDB_VERSION:-latest}
environment:
##
## actordb user's UserID and GroupID
##
- NEW_UID
- NEW_GID
ports:
- "33326:33306"
- "33327:33307"
volumes:
- "./node2/data:/var/lib/actordb"
- "./node2/etc:/etc/actordb"
- "./node2/logs:/var/log/actordb"
links:
- actordb1
networks:
default:
aliases:
- actordb2.local
actordb3:
image: bytepixie/actordb:${ACTORDB_VERSION:-latest}
environment:
##
## actordb user's UserID and GroupID
##
- NEW_UID
- NEW_GID
ports:
- "33336:33306"
- "33337:33307"
volumes:
- "./node3/data:/var/lib/actordb"
- "./node3/etc:/etc/actordb"
- "./node3/logs:/var/log/actordb"
links:
- actordb1
networks:
default:
aliases:
- actordb3.local
#
# A single node per machine service, config in .env.
#
actordb:
image: bytepixie/actordb:${ACTORDB_VERSION:-latest}
environment:
##
## actordb user's UserID and GroupID
##
- NEW_UID
- NEW_GID
- ACTORDB_NODE=${ACTORDB_NODE:-actordb@actordb.local}
ports:
- "${ACTORDB_PORT_THRIFT:-33306}:33306"
- "${ACTORDB_PORT_MYSQL:-33307}:33307"
volumes:
- "${ACTORDB_DATA:-./actordb-data}:/var/lib/actordb"
# - "${ACTORDB_ETC:-./actordb-etc}:/etc/actordb"
- "${ACTORDB_LOGS:-./actordb-logs}:/var/log/actordb"
networks:
default: