34 lines
761 B
YAML
34 lines
761 B
YAML
|
services:
|
||
|
umami:
|
||
|
image: ghcr.io/umami-software/umami:postgresql-latest
|
||
|
env_file: .env
|
||
|
environment:
|
||
|
TRACKER_SCRIPT_NAME: getinfo
|
||
|
API_COLLECT_ENDPOINT: all
|
||
|
VIRTUAL_HOST: "analytics.${DOMAIN}"
|
||
|
VIRTUAL_PORT: 3000
|
||
|
CLIENT_IP_HEADER: x-real-ip
|
||
|
# HOSTNAME: "analytics.${DOMAIN}"
|
||
|
# PORT: 3004
|
||
|
# FORCE_SSL: 0
|
||
|
LETSENCRYPT_HOST: "analytics.${DOMAIN}"
|
||
|
LETSENCRYPT_EMAIL: ${EMAIL}
|
||
|
depends_on:
|
||
|
- db
|
||
|
restart: always
|
||
|
ports:
|
||
|
- 3000:3000
|
||
|
expose:
|
||
|
- 3000
|
||
|
db:
|
||
|
container_name: umami-db
|
||
|
image: postgres:15-alpine
|
||
|
env_file: .env
|
||
|
volumes:
|
||
|
- ./data:/var/lib/postgresql/data
|
||
|
restart: always
|
||
|
networks:
|
||
|
default:
|
||
|
name: nginx-proxy
|
||
|
external: true
|