diff options
author | Blaise Thompson <blaise@untzag.com> | 2020-10-28 17:44:13 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2020-10-28 17:44:13 -0500 |
commit | d3e6cae7ea36b695835c4b1f98a0a91c7e5c6ec2 (patch) | |
tree | 68f98d5c926689ee22d7fb796e3d9ce5ebf68783 /docker-compose.yml | |
parent | e099ed460a4e0be3ff99b684e537b9678cf3f449 (diff) |
initial working docker-compose
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..46c7863 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,26 @@ +version: '3.8' + +services: + broker: + build: ./mosquitto + ports: + - 1883:1883 + db: + image: influxdb + ports: + - 8086:8086 + volumes: + - ./db:/var/lin/influxdb + write-influx: + build: ./write-influx + depends_on: + - broker + - db + web: + build: ./web + ports: + - 8080:80 + depends_on: + - broker + - db + - write-influx
\ No newline at end of file |