test: documentation
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
FROM eclipse-mosquitto:latest
|
||||
|
||||
LABEL org.opencontainers.image.documentation="https://git.limbosolutions.com/marcio.fernandes/mosquitto/docker/README.md"
|
||||
LABEL org.opencontainers.image.url="https://git.limbosolutions.com/marcio.fernandes/mosquitto"
|
||||
COPY run.sh /mosquitto/run.sh
|
||||
|
||||
RUN chmod +x mosquitto/run.sh
|
||||
|
||||
22
docker/README.md
Normal file
22
docker/README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# mosquitto - docker
|
||||
|
||||
``` yaml
|
||||
services:
|
||||
mosquitto:
|
||||
image: git.limbosolutions.com/marcio.fernandes/mosquitto:latest
|
||||
ports:
|
||||
- '1883:1883'
|
||||
- '8883:8883'
|
||||
environment:
|
||||
- TZ= Europe/Lisbon
|
||||
- |
|
||||
MOSQUITTO_CONFIG_CONTENT=
|
||||
listener ${LISTENER_PORT}
|
||||
allow_anonymous ${ALLOW_ANONYMOUS}
|
||||
volumes:
|
||||
- data:/mosquitto/data
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
data:
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user