forked from extern/docker
docker-compose network config in a code block
This commit is contained in:
parent
5962401698
commit
97d1d1a1c4
@ -24,9 +24,11 @@ Services as configured.
|
|||||||
| greenlight | | | ports: 10.7.7.1:5000:80
|
| greenlight | | | ports: 10.7.7.1:5000:80
|
||||||
| prometheus | bbb-net | 10.7.7.33 |
|
| prometheus | bbb-net | 10.7.7.33 |
|
||||||
|
|
||||||
|
```yml
|
||||||
networks:
|
networks:
|
||||||
bbb-net:
|
bbb-net:
|
||||||
ipam:
|
ipam:
|
||||||
driver: default
|
driver: default
|
||||||
config:
|
config:
|
||||||
- subnet: "10.7.7.0/24"
|
- subnet: "10.7.7.0/24"
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user