Skip to content

Commit 54ad499

Browse files
committed
Updated docker-compose.yml and the readme to expose the API port for the container
1 parent 8a4791b commit 54ad499

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN apk --update add ca-certificates
44
FROM scratch
55
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
66
COPY grimd /usr/bin/grimd
7-
EXPOSE 53:53/udp
8-
EXPOSE 53:53/tcp
9-
EXPOSE 8080
7+
EXPOSE 53/udp
8+
EXPOSE 53/tcp
9+
EXPOSE 8080/tcp
1010
ENTRYPOINT ["/usr/bin/grimd"]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can also download one of the [releases](https://github.com/looterz/grimd/rel
1717
# Docker Installation
1818
To quickly get grimd up and running with docker, run
1919
```
20-
docker run -d -p 53:53/udp -p 53:53/tcp ghcr.io/looterz/grimd:latest
20+
docker run -d -p 53:53/udp -p 53:53/tcp -p 8080:8080/tcp ghcr.io/looterz/grimd:latest
2121
```
2222

2323
Alternatively, download the [docker-compose.yml](https://raw.githubusercontent.com/looterz/grimd/master/docker-compose.yml) file and launch it using docker-compose.

docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ services:
44
ports:
55
- "53:53/udp"
66
- "53:53/tcp"
7+
- "8080:8080/tcp"

0 commit comments

Comments
 (0)