diff options
author | Blaise Thompson <blaise@untzag.com> | 2020-10-30 12:14:50 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2020-10-30 12:14:50 -0500 |
commit | 80b2b07555febdfd05454b14cf1fe5543730593a (patch) | |
tree | f30fee4c3f9fefd742a719f285e506c9560a5867 /docker-compose.yml | |
parent | d3e6cae7ea36b695835c4b1f98a0a91c7e5c6ec2 (diff) |
initial candidate for production
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 46c7863..9444ddd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,11 +6,11 @@ services: ports: - 1883:1883 db: - image: influxdb + build: ./influxdb ports: - 8086:8086 volumes: - - ./db:/var/lin/influxdb + - influxdb:/var/lib/influxdb write-influx: build: ./write-influx depends_on: @@ -23,4 +23,7 @@ services: depends_on: - broker - db - - write-influx
\ No newline at end of file + - write-influx + +volumes: + influxdb:
\ No newline at end of file |