docker-compose: use fixed network name

This commit is contained in:
Ilya Kreymer 2021-08-25 16:04:34 -07:00
parent 60b48ee8a6
commit 36fb01cbdf
2 changed files with 6 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class DockerManager:
self.client = aiodocker.Docker()
self.crawler_image = os.environ["CRAWLER_IMAGE"]
self.default_network = "crawlercloud_default"
self.default_network = os.environ.get("CRAWLER_NETWORK", "btrix-cloud-net")
self.archive_ops = archive_ops
self.crawl_ops = None

View File

@ -51,8 +51,12 @@ services:
- minio
volumes:
mongodata:
miniodata:
networks:
default:
name: btrix-cloud-net