File: docker-compose.yml

package info (click to toggle)
python-etcd3 0.12.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 640 kB
  • sloc: python: 2,111; makefile: 165
file content (19 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
version: '2'
services:
  python:
    build:
      context: .
      args:
        - HTTP_PROXY
        - http_proxy
        - HTTPS_PROXY
        - https_proxy
    links:
      - etcd
    environment:
      - PYTHON_ETCD_HTTP_URL=http://etcd:2379
  etcd:
    ports:
      - "2379:2379"
    image: quay.io/coreos/etcd
    command: etcd --initial-cluster-state new --listen-client-urls http://0.0.0.0:2379 --advertise-client-urls http://127.0.0.1:2379