Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit ec8dfd0

Browse files
committed
chore: set docker-compose to use a vfd-network [skip ci]
1 parent 85c5c0d commit ec8dfd0

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ A backend service for frontend client calls to testbed
1313
- Docker: https://docs.docker.com/get-docker/
1414
- make: https://www.gnu.org/software/make/ (optional)
1515

16+
#### Docker requirements
17+
18+
If using docker compose, the following network must be created: `vfd-network`.
19+
20+
Create the network with the following command:
21+
22+
```
23+
docker network create vfd-network
24+
```
25+
1626
### Run with docker with hot reloading
1727

1828
with docker-compose:

docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,10 @@ services:
1919
- 3003:3003
2020
extra_hosts:
2121
- "host.docker.internal:host-gateway"
22+
networks:
23+
- vfd-network
24+
25+
networks:
26+
vfd-network:
27+
driver: bridge
28+
external: true

0 commit comments

Comments
 (0)