-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code package dependencies are managed using the GO Module.Update Dock…
…erfile
- Loading branch information
evildecay
committed
Sep 11, 2019
1 parent
aabde17
commit ebadd8a
Showing
6 changed files
with
261 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,27 @@ | ||
version: '3.5' | ||
# Just as an example, not as a formally deployed configuration. | ||
# Because the actual production may deploy the etcd cluster, there is no cluster related to etcd. | ||
|
||
services: | ||
etcd: | ||
image: "quay.io/coreos/etcd:v3.3" | ||
container_name: "etcd" | ||
environment: | ||
ETCD_ADVERTISE_CLIENT_URLS: "http://0.0.0.0:2379" | ||
ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379" | ||
ETCDCTL_API: "2" | ||
ports: | ||
- 2379:2379 | ||
- 2380:2380 | ||
- 4001:4001 | ||
|
||
etcdkeeper: | ||
build: . | ||
container_name: "etcdkeeper" | ||
environment: | ||
HOST: "0.0.0.0" | ||
ports: | ||
- 12000:8080 | ||
depends_on: | ||
- etcd | ||
#version: '1.0' | ||
# | ||
#services: | ||
# etcd: | ||
# image: "quay.io/coreos/etcd:v3.3" | ||
# container_name: "etcd" | ||
# environment: | ||
# ETCD_ADVERTISE_CLIENT_URLS: "http://0.0.0.0:2379" | ||
# ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379" | ||
# ETCDCTL_API: "2" | ||
# ports: | ||
# - 2379:2379 | ||
# - 2380:2380 | ||
# - 4001:4001 | ||
# | ||
# etcdkeeper: | ||
# build: . | ||
# container_name: "etcdkeeper" | ||
# environment: | ||
# HOST: "0.0.0.0" | ||
# ports: | ||
# - 12000:8080 | ||
# depends_on: | ||
# - etcd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
module etcdkeeper | ||
|
||
go 1.12 | ||
|
||
require ( | ||
github.com/coreos/bbolt v1.3.3 // indirect | ||
github.com/coreos/etcd v3.3.15+incompatible | ||
github.com/coreos/go-semver v0.3.0 // indirect | ||
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f // indirect | ||
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect | ||
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect | ||
github.com/gogo/protobuf v1.3.0 // indirect | ||
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 // indirect | ||
github.com/google/btree v1.0.0 // indirect | ||
github.com/google/uuid v1.1.1 // indirect | ||
github.com/gorilla/websocket v1.4.1 // indirect | ||
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 // indirect | ||
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway v1.11.1 // indirect | ||
github.com/jonboulle/clockwork v0.1.0 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.1 // indirect | ||
github.com/prometheus/client_golang v1.1.0 // indirect | ||
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 // indirect | ||
github.com/soheilhy/cmux v0.1.4 // indirect | ||
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect | ||
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect | ||
go.etcd.io/bbolt v1.3.3 // indirect | ||
go.uber.org/atomic v1.4.0 // indirect | ||
go.uber.org/multierr v1.1.0 // indirect | ||
go.uber.org/zap v1.10.0 // indirect | ||
golang.org/x/crypto v0.0.0-20190907121410-71b5226ff739 // indirect | ||
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 // indirect | ||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect | ||
google.golang.org/appengine v1.4.0 // indirect | ||
google.golang.org/genproto v0.0.0-20190905072037-92dd089d5514 // indirect | ||
google.golang.org/grpc v1.23.0 // indirect | ||
sigs.k8s.io/yaml v1.1.0 // indirect | ||
) |
Oops, something went wrong.