Skip to content

Commit

Permalink
add docker compose with dockerhub image
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianRzk committed May 19, 2024
1 parent fd4b2e7 commit 63c10a7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: '3'
services:
influxdb:
image: influxdb:latest
volumes:
# Mount for influxdb data directory and configuration
- /home/svl/influxdb2:/var/lib/influxdb2:rw
ports:
- "8086:8086"
web:
image: nginx
volumes:
- ./data:/var/www/
- ./nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "8080:80"
importer:
image: sebastianrzk/nasa-aurora-forecast-to-influx-exporter
environment:
# Insert your influx config here
- INFLUX_BUCKET_NAME=
- INFLUX_ORG_NAME=
- INFLUX_AUTH_TOKEN=
- INFLUX_URL=http://influxdb:8086
# replace if you go live
- DATA_SOURCE=http://web
#- DATA_SOURCE=https://services.swpc.noaa.gov/
depends_on:
- influxdb
- web

0 comments on commit 63c10a7

Please sign in to comment.