forked from Cloudzero/cloudzero-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
35 lines (32 loc) · 800 Bytes
/
docker-compose.yaml
File metadata and controls
35 lines (32 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: "3.9"
services:
app:
build:
dockerfile: ./docker/Dockerfile
context: .
container_name: insights-controller
entrypoint: /app/controller
command: ["-config", "/config.yaml"]
volumes:
- ./tests/integration/test-config.yaml:/config.yaml:ro
- ./tests/integration/fake-api-key:/etc/config/secrets/fake-api-key:ro
ports:
- "8000:8000"
networks:
- app-network
mock-remote-write:
build:
dockerfile: Dockerfile
context: ./tests/integration/test_server/
args:
EXPOSED_PORT: 8081
container_name: test-server
ports:
- "${EXPOSED_PORT}:8081"
volumes:
- ./tests/integration/test-output:/app/test-output
networks:
- app-network
networks:
app-network:
driver: bridge