-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
26 lines (26 loc) · 984 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
services:
devenv:
build: ./
image: serialportgateway:latest
privileged: true
volumes:
- ${GATEWAY_CONFIG}:/config/config.cfg
- ${HARDWARE_WHITELIST}:/config/hardware-whitelist.txt
- ${SERIALPORT_BLACKLIST}:/config/port-blacklist.txt
# - ${LOG_PATH}:/logs
stdin_open: true
tty: true
entrypoint: /bin/bash
daemon:
build: ./
image: serialportgateway:latest
privileged: true
volumes:
- ${GATEWAY_CONFIG}:/config/config.cfg
- ${HARDWARE_WHITELIST}:/config/hardware-whitelist.txt
- ${SERIALPORT_BLACKLIST}:/config/port-blacklist.txt
# - ${LOG_PATH}:/logs
stdin_open: true
tty: true
restart: unless-stopped
entrypoint: /bin/bash -c "/repos/SerialPortGateway/bin/serial2console-gateway /config/config.cfg /config/hardware-whitelist.txt /config/port-blacklist.txt /logs"