-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 1.01 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '3.4'
services:
zebraiotconnector.client.mqtt.console:
image: ${DOCKER_REGISTRY-}zebraiotconnectorclientmqttconsole
build:
context: .
dockerfile: ./ZebraIoTConnector.Client.MQTT.Console/Dockerfile
# Shared Network
networks:
- mosquitto_go_net
# Console output
stdin_open: true
tty: true
sql.data:
image: mcr.microsoft.com/mssql/server:2017-latest
environment:
- SA_PASSWORD=Zebra2022!
- ACCEPT_EULA=Y
ports:
- "1433:1433"
# Shared Network
networks:
- mosquitto_go_net
mosquitto:
image: eclipse-mosquitto:latest
container_name: mosquitto
restart: always
volumes:
- ./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf:rw
ports:
- 1883:1883
- 9001:9001
# Shared Network
networks:
- mosquitto_go_net
# Make mosquitto reachable from outside (FX reader)
hostname: "$host_name"
networks:
mosquitto_go_net:
driver: bridge