Skip to content

Commit

Permalink
Merge pull request #143 from tudvari/feature/network-options
Browse files Browse the repository at this point in the history
implement ipam/aux_addresses, attachble network configs
  • Loading branch information
tudvari authored May 26, 2024
2 parents cf33305 + 5f897ac commit 5315e79
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Generate Docker Compose descriptor from a JSON document.

![Node.js CI](https://github.com/tudvari/docker-composer/workflows/Node.js%20CI/badge.svg)
[![Build & Test](https://github.com/tudvari/docker-composer/actions/workflows/nodejs.yml/badge.svg)](https://github.com/tudvari/docker-composer/actions/workflows/nodejs.yml)
[![npm version](https://badge.fury.io/js/docker-composer.svg)](https://badge.fury.io/js/docker-composer)
[![CodeQL](https://github.com/tudvari/docker-composer/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/tudvari/docker-composer/actions/workflows/codeql-analysis.yml)
## About the package
Expand All @@ -14,8 +14,10 @@ Docker Compose Reference is [HERE](https://docs.docker.com/compose/compose-file/

### Changes of the Latest Release

## Version 5.0.2 (21.10.2023)
## Version 5.1.0 (26.05.2024)
- Update dependencies
- Support aux_addresses keyword in network/ipam config object
- Support attachable keyword in network config object

You can find all Release Notes [HERE](https://github.com/tudvari/docker-composer/blob/master/ReleaseNotes.md).

Expand Down
5 changes: 5 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes

## Version 5.1.0 (26.05.2024)
- Update dependencies
- Support aux_addresses keyword in network/ipam config object
- Support attachable keyword in network config object

## Version 5.0.2 (21.10.2023)
- Update dependencies

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docker-composer",
"version": "5.0.2",
"version": "5.1.0",
"description": "Library for generating docker-compose.yml from JSON.",
"main": "index.js",
"scripts": {
Expand Down
6 changes: 5 additions & 1 deletion schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,16 @@
"type": "object",
"properties": {
"driver": {"type": "string"},
"attachable": {"type": "boolean"},
"config": {
"type": "array",
"items": {
"type": "object",
"properties": {
"subnet": {"type": "string", "format": "subnet_ip_address"}
"subnet": {"type": "string", "format": "subnet_ip_address"},
"aux_addresses" : {
"type" : "#/definitions/list_or_dict"
}
},
"additionalProperties": false
}
Expand Down

0 comments on commit 5315e79

Please sign in to comment.