Files
komodo/tests/docker-compose.yml

55 lines
1.3 KiB
YAML

version: "3.9"
services:
# core:
# image: core
# build:
# context: ..
# dockerfile: Dockerfile.core
# ports:
# - "9000:9000"
# networks:
# - monitor-network
# environment:
# - CONFIG_PATH=/config/config.toml
# volumes:
# - "~/.monitor/core.config.toml:/config/config.toml"
periphery-full:
image: periphery-full
build:
context: ..
dockerfile: Dockerfile.periphery
args:
DEPS_INSTALLER: install_full_periphery_deps
ports:
- "8001:8000"
networks:
- monitor-network
environment:
- CONFIG_PATH=/config/config.toml
volumes:
- "~/.monitor/periphery.config.toml:/config/config.toml"
- "~/.monitor/repos-full:/repos"
- "/var/run/docker.sock:/var/run/docker.sock"
- "/external:/external"
periphery-slim:
image: periphery-slim
build:
context: ..
dockerfile: Dockerfile.periphery
args:
DEPS_INSTALLER: install_slim_periphery_deps
ports:
- "8002:8000"
networks:
- monitor-network
environment:
- CONFIG_PATH=/config/config.toml
volumes:
- "~/.monitor/periphery.config.toml:/config/config.toml"
- "~/.monitor/repos-slim:/repos"
- "/var/run/docker.sock:/var/run/docker.sock"
networks:
monitor-network: {}