Skip to content

Commit 6e12b97

Browse files
fix YAML syntax on Docker files
1 parent 0e917c2 commit 6e12b97

5 files changed

+38
-24
lines changed

.readthedocs.yaml

+22-20
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1-
# Read the Docs configuration file
2-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3-
4-
# Required
5-
version: 2
6-
7-
# Set the version of Python and other tools you might need
8-
build:
9-
os: ubuntu-22.04
10-
tools:
11-
python: "3.9"
12-
13-
# Build documentation in the docs/ directory with Sphinx
14-
sphinx:
15-
configuration: docs/conf.py
16-
17-
# Optionally declare the Python requirements required to build your docs
18-
python:
19-
install:
20-
- requirements: docs/requirements.txt
1+
---
2+
3+
# Read the Docs configuration file
4+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
5+
6+
# Required
7+
version: 2
8+
9+
# Set the version of Python and other tools you might need
10+
build:
11+
os: ubuntu-22.04
12+
tools:
13+
python: "3.9"
14+
15+
# Build documentation in the docs/ directory with Sphinx
16+
sphinx:
17+
configuration: docs/conf.py
18+
19+
# Optionally declare the Python requirements required to build your docs
20+
python:
21+
install:
22+
- requirements: docs/requirements.txt

docker-compose-rtu-test.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
#
24
# build all non-image containers
35
# $ docker-compose -f docker-compose-rtu-test.yaml build
@@ -21,7 +23,8 @@ services:
2123
expose:
2224
- "65433"
2325
ports:
24-
- "65433:65433" # reach "micropython-client" at 172.25.0.2:65433, see networks
26+
# reach "micropython-client" at 172.25.0.2:65433, see networks
27+
- "65433:65433"
2528
networks:
2629
serial_bridge:
2730
# fix IPv4 address to be known and in the MicroPython scripts

docker-compose-rtu.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
#
24
# build all non-image containers
35
# $ docker-compose build
@@ -20,7 +22,8 @@ services:
2022
expose:
2123
- "65433"
2224
ports:
23-
- "65433:65433" # reach "micropython-client" at 172.25.0.2:65433, see networks
25+
# reach "micropython-client" at 172.25.0.2:65433, see networks
26+
- "65433:65433"
2427
networks:
2528
serial_bridge:
2629
# fix IPv4 address to be known and in the MicroPython scripts

docker-compose-tcp-test.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
#
24
# build all non-image containers
35
# $ docker-compose -f docker-compose-tcp-test.yaml build
@@ -20,7 +22,8 @@ services:
2022
expose:
2123
- "502"
2224
ports:
23-
- "502:502" # reach "micropython-client" at 172.24.0.2:502, see networks
25+
# reach "micropython-client" at 172.24.0.2:502, see networks
26+
- "502:502"
2427
networks:
2528
my_bridge:
2629
# fix IPv4 address to be known and in the MicroPython scripts

docker-compose.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
---
2+
13
#
24
# build all non-image containers
35
# $ docker-compose build
@@ -19,7 +21,8 @@ services:
1921
expose:
2022
- "502"
2123
ports:
22-
- "502:502" # reach "micropython-client" at 172.24.0.2:502, see networks
24+
# reach "micropython-client" at 172.24.0.2:502, see networks
25+
- "502:502"
2326
networks:
2427
my_bridge:
2528
# fix IPv4 address to be known and in the MicroPython scripts

0 commit comments

Comments
 (0)