File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,13 @@ Environment variables can be set for the container by passing them to a `docker
9393
9494# ### Using Docker
95951. **Pull the Docker image from a container registry** :
96- ` ` ` sh
96+ ` ` ` bash
9797 docker pull ghcr.io/raddevon/wake-on-http:latest
9898 ` ` `
9999
1001002. **Run the Docker container with network access to other systems on the host's network** :
101101 - **Using Host Networking**: This is the simplest method and recommended for most users.
102- ` ` ` sh
102+ ` ` ` bash
103103 docker run -d \
104104 --network host \
105105 -e SERVICE_MEDIA.WAKE.MYDOMAIN.COM_BASE_URL=http://192.168.1.48:3000 \
@@ -122,7 +122,7 @@ Environment variables can be set for the container by passing them to a `docker
122122 restart: always
123123 ` ` `
124124 - **Using Macvlan Networking**: This method allows the container to appear as a separate device on the same physical network as the host.
125- ` ` ` sh
125+ ` ` ` bash
126126 docker network create -d macvlan \
127127 --subnet=192.168.1.0/24 \
128128 --gateway=192.168.1.1 \
@@ -163,7 +163,7 @@ Environment variables can be set for the container by passing them to a `docker
163163 gateway: 192.168.1.1
164164 ` ` `
165165 To run the service using Docker Compose :
166- ` ` ` sh
166+ ` ` ` bash
167167 docker-compose up -d
168168 ` ` `
169169
@@ -273,9 +273,9 @@ server {
273273### Testing
274274
275275To run tests, use the following command:
276- ``` sh
276+ ``` bash
277277python -m unittest discover
278278```
279279
280280## License
281- MIT License
281+ MIT License
You can’t perform that action at this time.
0 commit comments