-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.mock.yml
More file actions
32 lines (31 loc) · 903 Bytes
/
Copy pathdocker-compose.mock.yml
File metadata and controls
32 lines (31 loc) · 903 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
services:
bess-dev:
entrypoint: ["/bin/bash", "/mock-entrypoint.sh"]
volumes:
- ./backend:/app:delegated
- ./core:/app/core:delegated
- ./frontend/dist:/app/frontend:delegated
- ./scripts/mock_ha/mock-entrypoint.sh:/mock-entrypoint.sh:ro
- ./backend/mock-bess-settings.json:/data/bess_settings.json
environment:
- HA_URL=http://mock-ha:8123
- HA_TOKEN=mock_token
- HA_TEST_MODE=false
- BESS_HISTORICAL_SEED_FILE=${BESS_HISTORICAL_SEED_FILE:-}
- HA_DB_URL=
- HA_DB_BUCKET=
- HA_DB_USER_NAME=
- HA_DB_PASSWORD=
- FAKETIME=${MOCK_TIME:-}
depends_on:
- mock-ha
mock-ha:
build: ./scripts/mock_ha
ports:
- "${BESS_MOCK_HA_PORT:-8123}:8123"
volumes:
- ./scripts/mock_ha/scenarios:/scenarios:ro
environment:
- SCENARIO=${SCENARIO}
networks:
- bess-network