Updating how docker containers are handled
This commit is contained in:
parent
c940c0f168
commit
b84d05e292
5
docker/containers/rbn-to-mqtt.dockerfile
Normal file
5
docker/containers/rbn-to-mqtt.dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
FROM python:3.13
|
||||
ENV MODE=cw
|
||||
ENV MQTT_HOST=
|
||||
COPY ./scripts/rbn-to-mqtt /rbn-to-mqtt
|
||||
CMD ["python", "/rbn-to-mqtt", "${MODE}", "${MQTT_HOST}"]
|
20
docker/stacks/mqtt-ingest-radio-spots.docker-compose.yaml
Normal file
20
docker/stacks/mqtt-ingest-radio-spots.docker-compose.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
services:
|
||||
rbn_cw_to_mqtt:
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: docker/containers/rbn-to-mqtt.dockerfile
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
environment:
|
||||
- Mode=cw
|
||||
- MQTT_HOST=${MQTT_HOST}
|
||||
|
||||
rbn_ft8_to_mqtt:
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: docker/containers/rbn-to-mqtt.dockerfile
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
environment:
|
||||
- Mode=ft8
|
||||
- MQTT_HOST=${MQTT_HOST}
|
Loading…
x
Reference in New Issue
Block a user