Add stack-type labels and public service stacks
Add com.ghost.tel/stack-type labels to all stacks: - prod (17): Production services from core - dev-only (11): Experimental/device-specific services - public (8): Public-facing services (uplink.tel, sequela.tel) New public stacks from docker-public: - nitter-public: Nitter instance for uplink.tel - freshrss-public: FreshRSS for uplink.tel - rsshub-public: RSSHub for uplink.tel - searx-public: SearXNG for uplink.tel - wikijs-public: Wiki.js for sequela.tel - matomo-public: Matomo analytics for sequela.tel Also fixes: - Remove obsolete 'version' key from compose files - Fix snowflake to remove duplicate watchtower service - Standardize compose file formatting Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
50
stacks/matomo-public/docker-compose.yml
Normal file
50
stacks/matomo-public/docker-compose.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
services:
|
||||
db:
|
||||
image: mariadb:latest
|
||||
container_name: matomo-db
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "com.ghost.tel/stack-type=public"
|
||||
command: --max-allowed-packet=64MB
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${MATOMO_MYSQL_ROOT_PASSWORD}
|
||||
MYSQL_DATABASE: matomo
|
||||
MYSQL_USER: matomo
|
||||
MYSQL_PASSWORD: ${MATOMO_MYSQL_PASSWORD}
|
||||
volumes:
|
||||
- ./mysql:/var/lib/mysql
|
||||
|
||||
app:
|
||||
image: matomo:latest
|
||||
container_name: matomo
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "com.ghost.tel/stack-type=public"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.matomo.entrypoints=https"
|
||||
- "traefik.http.routers.matomo.rule=Host(`matomo.sequela.tel`) || Host(`matomo.sequela.uk`)"
|
||||
- "traefik.http.routers.matomo.tls.certresolver=http"
|
||||
- "traefik.http.services.matomo.loadbalancer.server.port=80"
|
||||
environment:
|
||||
MATOMO_DATABASE_HOST: db
|
||||
MATOMO_DATABASE_ADAPTER: mysql
|
||||
MATOMO_DATABASE_TABLES_PREFIX: matomo_
|
||||
MATOMO_DATABASE_USERNAME: matomo
|
||||
MATOMO_DATABASE_PASSWORD: ${MATOMO_MYSQL_PASSWORD}
|
||||
MATOMO_DATABASE_DBNAME: matomo
|
||||
volumes:
|
||||
- matomo-data:/var/www/html
|
||||
expose:
|
||||
- "80"
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- web
|
||||
- default
|
||||
|
||||
volumes:
|
||||
matomo-data:
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
Reference in New Issue
Block a user