7436bf6e2e
C changes: - gstorage.c: encode continent into root key for --persist --restore survival - gholder.c: decode continent from root + lat/lng storage - commons.h: add lat/lng fields to GMetrics struct - geoip2.c/geoip1.h: extract coordinates from MMDB - json.c: output lat/lng in geolocation JSON JS changes: - Remove cityIndex guard for static HTML city dots - TopoJSON lat/lng fallback for city coordinates - updateMap fallback city collection - Dynamic orthographic center based on visitor count - Mercator stays at [0,15] for full world view Co-Authored-By: Claude <noreply@anthropic.com>
34 lines
828 B
YAML
34 lines
828 B
YAML
services:
|
|
web:
|
|
image: nginx
|
|
volumes:
|
|
- ./logs:/var/log/nginx
|
|
- ./configs/nginx.conf:/etc/nginx/nginx.conf
|
|
- ./public:/usr/share/nginx/html
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "fqdn=yourdomain"
|
|
networks:
|
|
- traefik
|
|
|
|
goaccess:
|
|
image: allinurl/goaccess
|
|
container_name: goaccess
|
|
volumes:
|
|
- ./configs/goaccess.traefik.conf:/srv/config/goaccess.conf
|
|
- ./logs:/srv/logs
|
|
- ./public:/srv/report
|
|
command: ["--no-global-config", "--config-file=/srv/config/goaccess.conf"]
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "fqdn=goaccess.yourdomain"
|
|
- "traefik.http.services.yourdomain-goaccess.loadbalancer.server.port=443"
|
|
restart: unless-stopped
|
|
networks:
|
|
- traefik
|
|
|
|
networks:
|
|
traefik:
|
|
external:
|
|
name: traefik_traefik
|