Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
35ffd02b
Commit
35ffd02b
authored
Jan 08, 2019
by
Hyduan
Committed by
Shao Yu-Lung (Allen)
Jan 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ZooKeeper Component (#1899)
parent
d03ead34
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
+25
-0
docker-compose.yml
docker-compose.yml
+11
-0
env-example
env-example
+4
-0
Dockerfile
zookeeper/Dockerfile
+10
-0
No files found.
docker-compose.yml
View file @
35ffd02b
...
...
@@ -437,6 +437,17 @@ services:
networks
:
-
backend
### ZooKeeper #########################################
zookeeper
:
build
:
./zookeeper
volumes
:
-
${DATA_PATH_HOST}/zookeeper/data:/data
-
${DATA_PATH_HOST}/zookeeper/datalog:/datalog
ports
:
-
"
${ZOOKEEPER_PORT}:2181"
networks
:
-
backend
### Aerospike ##########################################
aerospike
:
build
:
./aerospike
...
...
env-example
View file @
35ffd02b
...
...
@@ -207,6 +207,10 @@ MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
REDIS_PORT=6379
### ZooKeeper #############################################
ZOOKEEPER_PORT=2181
### Percona ###############################################
PERCONA_DATABASE=homestead
...
...
zookeeper/Dockerfile
0 → 100644
View file @
35ffd02b
FROM
zookeeper:latest
LABEL
maintainer="Hyduan <hyduan96@qq.com>"
VOLUME
/data
VOLUME
/datalog
EXPOSE
2181
CMD
["zookeeper"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment