add limits override compose file
This commit is contained in:
parent
7e1823dca6
commit
02149a10da
|
@ -0,0 +1,5 @@
|
||||||
|
networks:
|
||||||
|
services:
|
||||||
|
external: true
|
||||||
|
driver: bridge
|
||||||
|
name: services
|
|
@ -0,0 +1,5 @@
|
||||||
|
services:
|
||||||
|
reverse:
|
||||||
|
cpu_count: 2
|
||||||
|
mem_limit: 256m
|
||||||
|
mem_reservation: 256m
|
|
@ -1,3 +1,7 @@
|
||||||
|
include:
|
||||||
|
- path:
|
||||||
|
- compose_extends/network.include.yaml
|
||||||
|
|
||||||
services:
|
services:
|
||||||
reverse:
|
reverse:
|
||||||
extends:
|
extends:
|
||||||
|
@ -18,10 +22,4 @@ services:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
networks:
|
networks:
|
||||||
- services
|
- services
|
||||||
|
|
||||||
networks:
|
|
||||||
services:
|
|
||||||
external: true
|
|
||||||
driver: bridge
|
|
||||||
name: services
|
|
Loading…
Reference in New Issue