Hi there,
I've made a Traefik docker-compose file for interested people :
https://github.com/Tatayoyoh/api-analytics/blob/main/server/self-hosting/docker-compose.dev.yml
I hope it can be usefull for your self-hosted projects :)
@tom-draper following improvement have been also made into this fork :
- dashboard Dockerfile to build and serve
- dashboard look for VITE_SERVER_URL environment variable on
vite build
- dashboard monitor page fixed (isolate demo requests)
server/api/log/log.go can now log to stdout with LOG_OUTPUT_FILE=stdout environment variable
server/api/env/env.go do not load .env file on each call (godotenv.Load is moved into api/main.go)
Are you interested by a pull request for those features ?
Hi there,
I've made a Traefik docker-compose file for interested people :
https://github.com/Tatayoyoh/api-analytics/blob/main/server/self-hosting/docker-compose.dev.yml
I hope it can be usefull for your self-hosted projects :)
@tom-draper following improvement have been also made into this fork :
vite buildserver/api/log/log.gocan now log tostdoutwithLOG_OUTPUT_FILE=stdoutenvironment variableserver/api/env/env.godo not load .env file on each call (godotenv.Load is moved intoapi/main.go)Are you interested by a pull request for those features ?