mirror of
https://github.com/daniviga/bite.git
synced 2024-11-23 05:16:13 +01:00
Move edge-host in a custom compose
This commit is contained in:
parent
8e5a407b28
commit
8517190e72
12
docker/docker-compose.edge.yml
Normal file
12
docker/docker-compose.edge.yml
Normal file
|
@ -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"
|
|
@ -47,17 +47,6 @@ services:
|
||||||
- "1883:1883"
|
- "1883:1883"
|
||||||
- "15672:15672"
|
- "15672:15672"
|
||||||
|
|
||||||
# edge:
|
|
||||||
# <<: *service_default
|
|
||||||
# image: docker:dind
|
|
||||||
# privileged: true
|
|
||||||
# environment:
|
|
||||||
# DOCKER_TLS_CERTDIR:
|
|
||||||
# networks:
|
|
||||||
# - net
|
|
||||||
# ports:
|
|
||||||
# - "127.0.0.1:22375:2375"
|
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
image: traefik:v2.2
|
image: traefik:v2.2
|
||||||
command: --api.insecure=true --providers.docker
|
command: --api.insecure=true --providers.docker
|
||||||
|
@ -82,6 +71,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
depends_on:
|
depends_on:
|
||||||
|
- ingress
|
||||||
- data-migration
|
- data-migration
|
||||||
- timescale
|
- timescale
|
||||||
labels:
|
labels:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user