mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-08 04:04:42 +02:00
add etcd
This commit is contained in:
parent
ee5fab27ab
commit
6ede6120ba
@ -53,7 +53,6 @@ A collection of delicious docker recipes.
|
||||
- [x] prestodb (official)
|
||||
- [x] prestosql (community)
|
||||
- [x] superset-arm
|
||||
- [x] zookeeper-arm
|
||||
|
||||
## IoT
|
||||
|
||||
@ -80,6 +79,7 @@ A collection of delicious docker recipes.
|
||||
- [x] ggr
|
||||
- [x] ggr-ui
|
||||
- [x] jsonwire-grid
|
||||
- [x] zookeeper-arm
|
||||
|
||||
## Monitor
|
||||
|
||||
@ -297,6 +297,7 @@ A collection of delicious docker recipes.
|
||||
- [x] drupal
|
||||
- [x] elastichq/elasticsearch-hq
|
||||
- [x] elk
|
||||
- [x] quay.io/coreos/etcd
|
||||
- [x] flogo/flogo-docker
|
||||
- [x] mher/flower
|
||||
- [x] ghost
|
||||
|
7
etcd/README.md
Normal file
7
etcd/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
etcd
|
||||
=====
|
||||
|
||||
[etcd][1] is a distributed, reliable key-value store for the most critical data
|
||||
of a distributed system.
|
||||
|
||||
[1]: https://etcd.io/
|
20
etcd/docker-compose.yml
Normal file
20
etcd/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
# https://etcd.io/docs/v3.4.0/op-guide/container/
|
||||
|
||||
version: "3.8"
|
||||
services:
|
||||
etcd:
|
||||
image: quay.io/coreos/etcd:v3.4.8
|
||||
command: >
|
||||
etcd --name=node1
|
||||
--data-dir=/data
|
||||
--initial-advertise-peer-urls=http://1.2.3.4:2380
|
||||
--listen-peer-urls=http://0.0.0.0:2380
|
||||
--advertise-client-urls=http://1.2.3.4:2379
|
||||
--listen-client-urls=http://0.0.0.0:2379
|
||||
--initial-cluster=node1=http://1.2.3.4:2380
|
||||
ports:
|
||||
- "2379:2379"
|
||||
- "2380:2380"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user