Compare commits
2 Commits
616f2afdfa
...
aa2a56230d
| Author | SHA1 | Date | |
|---|---|---|---|
| aa2a56230d | |||
| 6494393821 |
4
umami/.env.example
Normal file
4
umami/.env.example
Normal file
@@ -0,0 +1,4 @@
|
||||
SECRET=replace-me-with-a-random-string
|
||||
DB=umami
|
||||
USER=user
|
||||
PASS=password
|
||||
42
umami/compose.yml
Normal file
42
umami/compose.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
services:
|
||||
umami:
|
||||
container_name: umami
|
||||
image: ghcr.io/umami-software/umami:postgresql-latest
|
||||
environment:
|
||||
DATABASE_URL: postgresql://$USER:$PASS@umami-db:5432/$DB
|
||||
DATABASE_TYPE: postgresql
|
||||
APP_SECRET: $SECRET
|
||||
depends_on:
|
||||
- umami-db
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- umami
|
||||
- proxy
|
||||
labels:
|
||||
# Caddy
|
||||
caddy: "*.{$$INT_DOMAIN}"
|
||||
caddy.1_@umami: host umami.{$$INT_DOMAIN}
|
||||
caddy.1_handle: "@umami"
|
||||
caddy.1_handle.reverse_proxy: "{{upstreams 3000}}"
|
||||
# Get real client public IP if behind another proxy
|
||||
# caddy.1_handle.reverse_proxy.header_up: X-Forwarded-For {header.X-Real-IP}
|
||||
# Diun
|
||||
diun.enable: true
|
||||
|
||||
umami-db:
|
||||
container_name: umami-db
|
||||
image: postgres:15-alpine
|
||||
environment:
|
||||
POSTGRES_DB: $DB
|
||||
POSTGRES_USER: $USER
|
||||
POSTGRES_PASSWORD: $PASS
|
||||
volumes:
|
||||
- ./appdb:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- umami
|
||||
networks:
|
||||
umami:
|
||||
external: true
|
||||
proxy:
|
||||
external: true
|
||||
20
whoogle/compose.yml
Normal file
20
whoogle/compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
whoogle:
|
||||
container_name: whoogle
|
||||
image: benbusby/whoogle-search
|
||||
env_file: .env
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- dmz
|
||||
labels:
|
||||
# Caddy
|
||||
caddy: "*.{$$INT_DOMAIN}"
|
||||
caddy.1_@search: host search.{$$INT_DOMAIN}
|
||||
caddy.1_handle: "@search"
|
||||
caddy.1_handle.reverse_proxy: "{{upstreams 5000}}"
|
||||
# Diun
|
||||
diun.enable: true
|
||||
|
||||
networks:
|
||||
dmz:
|
||||
external: true
|
||||
Reference in New Issue
Block a user