Closed tonyzhou777 closed 3 months ago
I don't use Docker, but you can up any web server image and host it. I tried Nginx here, follow the steps:
/build
to where you want to save the app, rename it if you want.docker-compose.yml
and write on it:version: "3.9"
name: vnstat_dashboard
services:
web:
image: nginx
restart: unless-stopped
ports:
- 8000:80
volumes:
- ./:/usr/share/nginx/html
docker-compose up -d
/location/to/build/api
every 5 minutes.http://localhost:8000
. Make sure the report file are available on the api folder.Tell me if this works, maybe a I can put this option available. I wanted to use a custom domain like "vnstat.local" but I couldn't find an easy step to setup this on Docker.
Hello. A docker version would be very convenient for different environments. Is it possible to have one?
Thanks.