31 lines
700 B
YAML
31 lines
700 B
YAML
version: "3.6"
|
|
services:
|
|
hello:
|
|
build:
|
|
context: ./test.dockerapp/http-echo-confd/
|
|
dockerfile: Dockerfile
|
|
args:
|
|
httpEchoServerVersion: ${image-version}
|
|
alpineVersion: ${alpine-version}
|
|
environment:
|
|
HTTPTEXT: ${response-text}
|
|
# etcdWait parameter
|
|
PLATFORM: ${etcdWait-platform}
|
|
MAX_RETRY: ${etcdWait-max-retry}
|
|
SLEEP_TIME: ${etcdWait-sleep-time}
|
|
ports:
|
|
- ${echo-port}:5678
|
|
|
|
etcd:
|
|
image: bitnami/etcd
|
|
environment:
|
|
- ALLOW_NONE_AUTHENTICATION=yes
|
|
# - ETCD_ADVERTISE_CLIENT_URLS=http://0.0.0.0:2379
|
|
restart: always
|
|
ports:
|
|
- "2379:2379/tcp"
|
|
|
|
volumes:
|
|
data-volume:
|
|
driver: local
|