From 8517190e72dbc4e869fe95d5dc09aab695245fd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Vigan=C3=B2?= Date: Mon, 15 Jun 2020 22:53:02 +0200 Subject: [PATCH] Move edge-host in a custom compose --- docker/docker-compose.edge.yml | 12 ++++++++++++ docker/docker-compose.yml | 12 +----------- 2 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 docker/docker-compose.edge.yml diff --git a/docker/docker-compose.edge.yml b/docker/docker-compose.edge.yml new file mode 100644 index 0000000..2f25281 --- /dev/null +++ b/docker/docker-compose.edge.yml @@ -0,0 +1,12 @@ +version: "3.7" + +edge-host: + <<: *service_default + image: docker:dind + privileged: true + environment: + DOCKER_TLS_CERTDIR: + # networks: + # - net + ports: + - "127.0.0.1:22375:2375" diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index f56beb3..f4c483b 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -47,17 +47,6 @@ services: - "1883:1883" - "15672:15672" - # edge: - # <<: *service_default - # image: docker:dind - # privileged: true - # environment: - # DOCKER_TLS_CERTDIR: - # networks: - # - net - # ports: - # - "127.0.0.1:22375:2375" - ingress: image: traefik:v2.2 command: --api.insecure=true --providers.docker @@ -82,6 +71,7 @@ services: networks: - net depends_on: + - ingress - data-migration - timescale labels: