Merge pull request 'plausible' (#32) from plausible into main
## Détails - Suppression des hash Docker - Ajout des variables par défaut dans Postgres - Ajout du service ClickHouse - Ajout du service GeoIP Update - Ajout du service Plausible ## Pourquoi - Les hash Docker sont dépendant de la platforme hors nous gérons plusieurs type de platforme - Pour simplifier la lecture des variables Postgres - Pour proposer à nos utilisateurs Plausible Reviewed-on: https://git.weko.io/resilien/services/pulls/32
This commit is contained in:
commit
9cb520624f
|
@ -10,10 +10,13 @@ Vous trouverez dans ce dépôt l'ensemble des services Open Source que RésiLien
|
||||||
- [HedgeDoc](./hedgedoc) : Prise de note en Markdown collaborative en temps réel
|
- [HedgeDoc](./hedgedoc) : Prise de note en Markdown collaborative en temps réel
|
||||||
- [Mobilizon](./mobilizon): Permet l'organisation d'évènements et de gestion de groupes
|
- [Mobilizon](./mobilizon): Permet l'organisation d'évènements et de gestion de groupes
|
||||||
- [Nextcloud](./nextcloud) : Site d'hébergement de fichiers et une plateforme de collaboration
|
- [Nextcloud](./nextcloud) : Site d'hébergement de fichiers et une plateforme de collaboration
|
||||||
|
- [Plausible](./plausible) : Plausible est une plateforme d'analyse Web légère et open source.
|
||||||
|
|
||||||
### Pour les devs / ops
|
### Pour les devs / ops
|
||||||
|
|
||||||
|
- [ClickHouse](./clickhouse) : Un logiciel libre de base de données orientée colonnes pour le traitement analytique en ligne
|
||||||
- [Drone](./drone) : Un service d'intégration continue
|
- [Drone](./drone) : Un service d'intégration continue
|
||||||
|
- [GeoIP Update](./geoipupdate) : Permet de télécharger la base de données GeoIP2 permettant de localiser les IPs
|
||||||
- [Gitea](./gitea) : Un service Git auto-hébergé très simple à installer et à utiliser. Il est similaire à GitHub, Bitbucket ou Gitlab.
|
- [Gitea](./gitea) : Un service Git auto-hébergé très simple à installer et à utiliser. Il est similaire à GitHub, Bitbucket ou Gitlab.
|
||||||
- [Grafana](./grafana) : Un outil de supervision simple et élégant
|
- [Grafana](./grafana) : Un outil de supervision simple et élégant
|
||||||
- [PostgreSQL](./postgres) : PostgreSQL est un système de gestion de base de données relationnelle et objet.
|
- [PostgreSQL](./postgres) : PostgreSQL est un système de gestion de base de données relationnelle et objet.
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#CLICKHOUSE_VOLUME_NAME=
|
||||||
|
#CLICKHOUSE_CONTAINER_NAME=
|
||||||
|
#CLICKHOUSE_IMAGE=
|
|
@ -0,0 +1,16 @@
|
||||||
|
# ClickHouse
|
||||||
|
|
||||||
|
> ClickHouse est un logiciel libre de base de données orientée colonnes (DBMS) pour le traitement analytique en ligne (OLAP).
|
||||||
|
>
|
||||||
|
> <cite>[Wikipédia][wikipedia]</cite>
|
||||||
|
|
||||||
|
## Liens
|
||||||
|
|
||||||
|
- [Site Officiel][site]
|
||||||
|
- [Code source][source]
|
||||||
|
- [Docker Hub][dockerhub]
|
||||||
|
|
||||||
|
[wikipedia]: https://fr.wikipedia.org/wiki/ClickHouse
|
||||||
|
[site]: https://clickhouse.com/
|
||||||
|
[source]: https://github.com/ClickHouse/ClickHouse
|
||||||
|
[dockerhub]: https://hub.docker.com/r/clickhouse/clickhouse-server
|
|
@ -0,0 +1,19 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
clickhouse:
|
||||||
|
name: ${CLICKHOUSE_VOLUME_NAME:-clickhouse}
|
||||||
|
|
||||||
|
services:
|
||||||
|
clickhouse:
|
||||||
|
container_name: ${CLICKHOUSE_CONTAINER_NAME:-clickhouse}
|
||||||
|
image: ${CLICKHOUSE_IMAGE:-clickhouse/clickhouse-server:22.2.2.1-alpine}
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- clickhouse:/var/lib/clickhouse
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
ulimits:
|
||||||
|
nofile:
|
||||||
|
soft: 262144
|
||||||
|
hard: 262144
|
|
@ -9,7 +9,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
directus:
|
directus:
|
||||||
container_name: ${DIRECTUS_CONTAINER_NAME:-directus}
|
container_name: ${DIRECTUS_CONTAINER_NAME:-directus}
|
||||||
image: ${DIRECTUS_IMAGE:-directus/directus:9.5.1@sha256:c21099315f8720a12c65eea30b7450a96845ba17e9313e95a3fd23867b96c289}
|
image: ${DIRECTUS_IMAGE:-directus/directus:9.5.1}
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- directus:/directus/uploads
|
- directus:/directus/uploads
|
||||||
|
|
|
@ -7,7 +7,7 @@ version: "3.8"
|
||||||
services:
|
services:
|
||||||
drone-runner:
|
drone-runner:
|
||||||
container_name: ${DRONE_RUNNER_CONTAINER_NAME}
|
container_name: ${DRONE_RUNNER_CONTAINER_NAME}
|
||||||
image: ${DRONE_RUNNER_IMAGE:-drone/drone-runner-docker:1.8.0@sha256:70da970bb76a62567edbea1ac8002d9484664267f4cbb49fbd7c87a753d02260}
|
image: ${DRONE_RUNNER_IMAGE:-drone/drone-runner-docker:1.8.0}
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
|
@ -9,7 +9,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
drone-server:
|
drone-server:
|
||||||
container_name: ${DRONE_SERVER_CONTAINER_NAME:-drone-server}
|
container_name: ${DRONE_SERVER_CONTAINER_NAME:-drone-server}
|
||||||
image: ${DRONE_SERVER_IMAGE:-drone/drone:2.9.1@sha256:674e62c62cf41e06773c1b5e89687f1d514d49db6d1bb78678a5ef86927bc479}
|
image: ${DRONE_SERVER_IMAGE:-drone/drone:2.9.1}
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# https://docs.drone.io/server/reference/drone-rpc-secret/
|
# https://docs.drone.io/server/reference/drone-rpc-secret/
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
#GEOIPUPDATE_VOLUME_NAME=
|
||||||
|
#GEOIPUPDATE_IMAGE=
|
||||||
|
#GEOIPUPDATE_CONTAINER_NAME=
|
||||||
|
|
||||||
|
GEOIPUPDATE_ACCOUNT_ID=<change-me>
|
||||||
|
GEOIPUPDATE_LICENSE_KEY=<change-me>
|
||||||
|
#GEOIPUPDATE_EDITION_IDS=
|
||||||
|
#GEOIPUPDATE_FREQUENCY=
|
||||||
|
#GEOIPUPDATE_VERBOSE=
|
||||||
|
#GEOIPUPDATE_DB_DIR=
|
|
@ -0,0 +1,14 @@
|
||||||
|
# HedgeDoc
|
||||||
|
|
||||||
|
> Permet de télécharger la base de données GeoIP2 permettant de localiser les IPs
|
||||||
|
|
||||||
|
## Liens
|
||||||
|
|
||||||
|
- [Site officiel][website]
|
||||||
|
- [Github][github]
|
||||||
|
- [L'image Docker de LinuxServer][docker]
|
||||||
|
|
||||||
|
[website]: https://www.maxmind.com/en/home
|
||||||
|
[docker]: https://hub.docker.com/r/maxmindinc/geoipupdate
|
||||||
|
[github]: https://github.com/maxmind/geoipupdate
|
||||||
|
[documentation]: https://dev.maxmind.com/geoip/updating-databases
|
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
geoipupdate:
|
||||||
|
name: ${GEOIPUPDATE_VOLUME_NAME:-geoipupdate}
|
||||||
|
|
||||||
|
services:
|
||||||
|
geoipupdate:
|
||||||
|
image: ${GEOIPUPDATE_IMAGE:-maxmindinc/geoipupdate:v4.9.0}
|
||||||
|
container_name: ${GEOIPUPDATE_CONTAINER_NAME:-geoip-updater}
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- geoip:${GEOIPUPDATE_DB_DIR:-/usr/share/GeoIP}
|
||||||
|
environment:
|
||||||
|
GEOIPUPDATE_ACCOUNT_ID: ${GEOIPUPDATE_ACCOUNT_ID:?err}
|
||||||
|
GEOIPUPDATE_LICENSE_KEY: ${GEOIPUPDATE_LICENSE_KEY:?err}
|
||||||
|
GEOIPUPDATE_EDITION_IDS: ${GEOIPUPDATE_EDITION_IDS:-GeoLite2-City}
|
||||||
|
GEOIPUPDATE_FREQUENCY: ${GEOIP_SCHEDULE:-72}
|
||||||
|
GEOIPUPDATE_VERBOSE: ${GEOIPUPDATE_VERBOSE:-false}
|
||||||
|
GEOIPUPDATE_DB_DIR: ${GEOIPUPDATE_DB_DIR:-/usr/share/GeoIP}
|
|
@ -7,7 +7,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
gitea:
|
gitea:
|
||||||
container_name: ${GITEA_CONTAINER_NAME:-gitea}
|
container_name: ${GITEA_CONTAINER_NAME:-gitea}
|
||||||
image: ${GITEA_IMAGE:-gitea/gitea:1.16.1@sha256:bd36095359861e6970705a70d58ae0536f92f0d3f2d25c18ed663e94380c546a}
|
image: ${GITEA_IMAGE:-gitea/gitea:1.16.1}
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# - USER_UID=1000
|
# - USER_UID=1000
|
||||||
|
|
|
@ -8,7 +8,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
grafana:
|
grafana:
|
||||||
container_name: ${GRAFANA_CONTAINER_NAME:-grafana}
|
container_name: ${GRAFANA_CONTAINER_NAME:-grafana}
|
||||||
image: ${GRAFANA_IMAGE:-grafana/grafana:8.4.1@sha256:c97cdf5f24c6a8a618ec416c7c9d3568f92e2b196f89e8c656e646c06d45975e}
|
image: ${GRAFANA_IMAGE:-grafana/grafana:8.4.1}
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- grafana:/var/lib/grafana
|
- grafana:/var/lib/grafana
|
||||||
|
|
|
@ -7,7 +7,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
hedgedoc:
|
hedgedoc:
|
||||||
container_name: ${HEDGEDOC_CONTAINER_NAME:-hedgedoc}
|
container_name: ${HEDGEDOC_CONTAINER_NAME:-hedgedoc}
|
||||||
image: ${HEDGEDOC_IMAGE:-linuxserver/hedgedoc:1.9.2-ls44@sha256:e3e0ec428e043104ec626a4c89e09baf61bc8939f8a28979bdadf3a4fa6f513f}
|
image: ${HEDGEDOC_IMAGE:-linuxserver/hedgedoc:1.9.2-ls44}
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
|
@ -9,7 +9,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
mobilizon:
|
mobilizon:
|
||||||
container_name: ${MOBILIZON_CONTAINER_NAME:-mobilizon}
|
container_name: ${MOBILIZON_CONTAINER_NAME:-mobilizon}
|
||||||
image: ${MOBILIZON_IMAGE:-framasoft/mobilizon:2.0.2@sha256:a703d399c35b3b685be7c154bf2ac74f5acd88d8c28dd42f05f68859d76edfd3}
|
image: ${MOBILIZON_IMAGE:-framasoft/mobilizon:2.0.2}
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
|
@ -7,7 +7,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
nextcloud-fpm:
|
nextcloud-fpm:
|
||||||
container_name: ${NEXTCLOUD_CONTAINER_NAME:-nextcloud}-fpm
|
container_name: ${NEXTCLOUD_CONTAINER_NAME:-nextcloud}-fpm
|
||||||
image: ${NEXTCLOUD_IMAGE:-nextcloud:23.0.2-fpm-alpine@sha256:a9dec35fab6e244a7916afd6b6f738f26590ff8c94356406f34e5a3ea30bb8be}
|
image: ${NEXTCLOUD_IMAGE:-nextcloud:23.0.2-fpm-alpine}
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
|
@ -0,0 +1,68 @@
|
||||||
|
########
|
||||||
|
# DOCKER
|
||||||
|
|
||||||
|
#DOCKER_CONTEXT=
|
||||||
|
#DOCKER_HOST=
|
||||||
|
SERVICES_DIR=..
|
||||||
|
COMPOSE_FILE=${SERVICES_DIR}/plausible/docker-compose.yml:${SERVICES_DIR}/plausible/docker-compose.clickhouse.yml:${SERVICES_DIR}/plausible/docker-compose.local.yml:${SERVICES_DIR}/postgres/docker-compose.yml:${SERVICES_DIR}/clickhouse/docker-compose.yml
|
||||||
|
#COMPOSE_PROJECT_NAME=
|
||||||
|
|
||||||
|
## APP
|
||||||
|
|
||||||
|
PLAUSIBLE_DOMAIN=http://localhost:8000
|
||||||
|
#PLAUSIBLE_CONTAINER_NAME=plausible
|
||||||
|
#PLAUSIBLE_VOLUME_NAME=plausible
|
||||||
|
#PLAUSIBLE_IMAGE=plausible/analytics:v1.4.4
|
||||||
|
|
||||||
|
ADMIN_USER_NAME=example
|
||||||
|
ADMIN_USER_EMAIL=email@example.org
|
||||||
|
ADMIN_USER_PWD=change-me
|
||||||
|
SECRET_KEY_BASE=AFnMQwN54ovHIqCQQGFZX5gUFpgpxasCEnzQwQsyfZLPRbiwzDYAqYDJQlQM8SbmicVJr97axXaSCfXD9zSEQQ==
|
||||||
|
|
||||||
|
## POSTGRES
|
||||||
|
|
||||||
|
#POSTGRES_VOLUME_NAME=
|
||||||
|
#POSTGRES_CONTAINER_NAME=
|
||||||
|
#POSTGRES_IMAGE=
|
||||||
|
POSTGRES_USER=user-example
|
||||||
|
POSTGRES_PASSWORD=password-example
|
||||||
|
POSTGRES_DB=plausible_dev
|
||||||
|
|
||||||
|
## CLICKHOUSE
|
||||||
|
|
||||||
|
#CLICKHOUSE_VOLUME_NAME=
|
||||||
|
#CLICKHOUSE_CONTAINER_NAME=
|
||||||
|
#CLICKHOUSE_IMAGE=
|
||||||
|
|
||||||
|
## SMTP
|
||||||
|
|
||||||
|
#MAILER_EMAIL=
|
||||||
|
#SMTP_HOST_ADDR=
|
||||||
|
#SMTP_HOST_PORT=
|
||||||
|
#SMTP_USER_NAME=
|
||||||
|
#SMTP_USER_PWD=
|
||||||
|
#SMTP_HOST_SSL_ENABLED=
|
||||||
|
#SMTP_RETRIES=
|
||||||
|
|
||||||
|
## GOOGLE SEARCH CONSOLE
|
||||||
|
|
||||||
|
#GOOGLE_CLIENT_ID=
|
||||||
|
#GOOGLE_CLIENT_SECRET=
|
||||||
|
|
||||||
|
## GEOIPUPDATE
|
||||||
|
|
||||||
|
#GEOIPUPDATE_VOLUME_NAME=
|
||||||
|
#GEOIPUPDATE_IMAGE=
|
||||||
|
#GEOIPUPDATE_CONTAINER_NAME=
|
||||||
|
#GEOIPUPDATE_ACCOUNT_ID=
|
||||||
|
#GEOIPUPDATE_LICENSE_KEY=
|
||||||
|
#GEOIPUPDATE_EDITION_IDS=GeoLite2-Country
|
||||||
|
#GEOIPUPDATE_FREQUENCY=
|
||||||
|
#GEOIPUPDATE_VERBOSE=
|
||||||
|
#GEOIPUPDATE_DB_DIR=
|
||||||
|
|
||||||
|
## TRAEFIK
|
||||||
|
|
||||||
|
#TRAEFIK_NETWORK_NAME=
|
||||||
|
#TRAEFIK_ROUTER_NAME=
|
||||||
|
#TRAEFIK_ENTRYPOINTS=
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Plausible
|
||||||
|
|
||||||
|
> Plausible est une plateforme d'analyse Web légère et open source.
|
||||||
|
|
||||||
|
## Liens
|
||||||
|
|
||||||
|
- [Site Officiel][site]
|
||||||
|
- [Documentation][documentation]
|
||||||
|
- [Code source][source]
|
||||||
|
- [Docker Hub][dockerhub]
|
||||||
|
|
||||||
|
[site]: https://plausible.io/
|
||||||
|
[source]: https://github.com/plausible/analytics
|
||||||
|
[documentation]: https://plausible.io/docs
|
||||||
|
[dockerhub]: https://hub.docker.com/r/plausible/analytics
|
|
@ -0,0 +1,14 @@
|
||||||
|
<yandex>
|
||||||
|
<logger>
|
||||||
|
<level>warning</level>
|
||||||
|
<console>true</console>
|
||||||
|
</logger>
|
||||||
|
|
||||||
|
<!-- Stop all the unnecessary logging -->
|
||||||
|
<query_thread_log remove="remove"/>
|
||||||
|
<query_log remove="remove"/>
|
||||||
|
<text_log remove="remove"/>
|
||||||
|
<trace_log remove="remove"/>
|
||||||
|
<metric_log remove="remove"/>
|
||||||
|
<asynchronous_metric_log remove="remove"/>
|
||||||
|
</yandex>
|
|
@ -0,0 +1,8 @@
|
||||||
|
<yandex>
|
||||||
|
<profiles>
|
||||||
|
<default>
|
||||||
|
<log_queries>0</log_queries>
|
||||||
|
<log_query_threads>0</log_query_threads>
|
||||||
|
</default>
|
||||||
|
</profiles>
|
||||||
|
</yandex>
|
|
@ -0,0 +1,7 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
clickhouse:
|
||||||
|
volumes:
|
||||||
|
- ./clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
|
||||||
|
- ./clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
|
|
@ -0,0 +1,10 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
plausible:
|
||||||
|
depends_on:
|
||||||
|
- geoipupdate
|
||||||
|
environment:
|
||||||
|
- GEOLITE2_COUNTRY_DB=/geoip/GeoLite2-Country.mmdb
|
||||||
|
volumes:
|
||||||
|
- geoipupdate:/geoip:ro
|
|
@ -0,0 +1,7 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
plausible:
|
||||||
|
environment:
|
||||||
|
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID:?err}
|
||||||
|
GOOGLE_CLIENT_SECRET: ${GOOGLE_CLIENT_SECRET:?err}
|
|
@ -0,0 +1,6 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
plausible:
|
||||||
|
ports:
|
||||||
|
- ${LOCAL_PORT:-8000}:8000
|
|
@ -0,0 +1,12 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
plausible:
|
||||||
|
environment:
|
||||||
|
MAILER_EMAIL: ${MAILER_EMAIL:-hello@plausible.local}
|
||||||
|
SMTP_HOST_ADDR: ${SMTP_HOST_ADDR:-localhost}
|
||||||
|
SMTP_HOST_PORT: ${SMTP_HOST_PORT:-25}
|
||||||
|
SMTP_USER_NAME: ${SMTP_USER_NAME}
|
||||||
|
SMTP_USER_PWD: ${SMTP_USER_PWD}
|
||||||
|
SMTP_HOST_SSL_ENABLED: ${SMTP_HOST_SSL_ENABLED:-false}
|
||||||
|
SMTP_RETRIES: ${SMTP_RETRIES:-2}
|
|
@ -0,0 +1,13 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
name: ${TRAEFIK_NETWORK_NAME:-traefik}
|
||||||
|
|
||||||
|
services:
|
||||||
|
plausible:
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
||||||
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-plausible}.rule=Host(`${PLAUSIBLE_DOMAIN:?err}`)
|
||||||
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-plausible}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}
|
|
@ -0,0 +1,28 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
plausible:
|
||||||
|
name: ${PLAUSIBLE_VOLUME_NAME:-plausible}
|
||||||
|
|
||||||
|
services:
|
||||||
|
plausible:
|
||||||
|
container_name: ${PLAUSIBLE_CONTAINER_NAME:-plausible}
|
||||||
|
image: ${PLAUSIBLE_IMAGE:-plausible/analytics:v1.4.4}
|
||||||
|
restart: always
|
||||||
|
command: ${PLAUSIBLE_DOCKER_COMMAND:-sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin && /entrypoint.sh run"}
|
||||||
|
depends_on:
|
||||||
|
- clickhouse
|
||||||
|
- postgres
|
||||||
|
environment:
|
||||||
|
ADMIN_USER_NAME: ${ADMIN_USER_NAME:?err}
|
||||||
|
ADMIN_USER_EMAIL: ${ADMIN_USER_EMAIL:?err}
|
||||||
|
ADMIN_USER_PWD: ${ADMIN_USER_PWD:?err}
|
||||||
|
BASE_URL: ${PLAUSIBLE_DOMAIN}
|
||||||
|
SECRET_KEY_BASE: ${SECRET_KEY_BASE:?err}
|
||||||
|
DISABLE_AUTH: ${DISABLE_AUTH:-false}
|
||||||
|
DISABLE_REGISTRATION: ${DISABLE_REGISTRATION:-false}
|
||||||
|
DATABASE_URL: postgres://${POSTGRES_USER:?err}:${POSTGRES_PASSWORD:?err}@${POSTGRES_CONTAINER_NAME:-postgres}:5432/${POSTGRES_DB:?err}
|
||||||
|
CLICKHOUSE_DATABASE_URL: http://${CLICKHOUSE_CONTAINER_NAME:-clickhouse}:8123/${CLICKHOUSE_CONTAINER_NAME:-clickhouse}
|
||||||
|
volumes:
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
|
@ -1,3 +1,7 @@
|
||||||
|
#POSTGRES_VOLUME_NAME=
|
||||||
|
#POSTGRES_CONTAINER_NAME=
|
||||||
|
#POSTGRES_IMAGE=
|
||||||
|
|
||||||
POSTGRES_USER=user-example
|
POSTGRES_USER=user-example
|
||||||
POSTGRES_PASSWORD=password-example
|
POSTGRES_PASSWORD=password-example
|
||||||
POSTGRES_DB=postgres-database-name-example
|
POSTGRES_DB=postgres-database-name-example
|
||||||
|
|
|
@ -7,7 +7,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
container_name: ${POSTGRES_CONTAINER_NAME:-postgres}
|
container_name: ${POSTGRES_CONTAINER_NAME:-postgres}
|
||||||
image: ${POSTGRES_IMAGE:-postgres:14.2-alpine@sha256:536bc3ad5d53f1b84db958be04013024aae70449c931943ad0a55c56c28f68b3}
|
image: ${POSTGRES_IMAGE:-postgres:14.2-alpine}
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: ${POSTGRES_USER:?err}
|
POSTGRES_USER: ${POSTGRES_USER:?err}
|
||||||
|
|
|
@ -12,7 +12,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
PROMETHEUS_IMAGE: ${PROMETHEUS_IMAGE:-prom/prometheus:v2.33.3@sha256:20c90b9a99b12b4349150e347811cc44dccdb05c291d385320be63dc12cce73b}
|
PROMETHEUS_IMAGE: ${PROMETHEUS_IMAGE:-prom/prometheus:v2.33.3}
|
||||||
volumes:
|
volumes:
|
||||||
- prometheus:/prometheus
|
- prometheus:/prometheus
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
@ -6,7 +6,7 @@ volumes:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: ${REDIS_IMAGE:-redis:6.2.6-alpine@sha256:4bed291aa5efb9f0d77b76ff7d4ab71eee410962965d052552db1fb80576431d}
|
image: ${REDIS_IMAGE:-redis:6.2.6-alpine}
|
||||||
container_name: ${REDIS_CONTAINER_NAME:-redis}
|
container_name: ${REDIS_CONTAINER_NAME:-redis}
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -7,7 +7,7 @@ volumes:
|
||||||
services:
|
services:
|
||||||
registry:
|
registry:
|
||||||
container_name: ${REGISTRY_CONTAINER_NAME}
|
container_name: ${REGISTRY_CONTAINER_NAME}
|
||||||
image: ${REGISTRY_IMAGE:-registry:2.8.0@sha256:c26590bcf53822a542e78fab5c88e1dfbcdee91c1882f4656b7db7b542d91d97}
|
image: ${REGISTRY_IMAGE:-registry:2.8.0}
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
REGISTRY_AUTH: htpasswd
|
REGISTRY_AUTH: htpasswd
|
||||||
|
|
|
@ -11,7 +11,7 @@ networks:
|
||||||
services:
|
services:
|
||||||
traefik:
|
traefik:
|
||||||
container_name: ${TRAEFIK_CONTAINER_NAME:-traefik}
|
container_name: ${TRAEFIK_CONTAINER_NAME:-traefik}
|
||||||
image: ${TRAEFIK_IMAGE:-traefik:v2.6.1@sha256:9c248cbc8c7f53de29903b1875a6d188e736916a0ef040e18707279993f39fe9}
|
image: ${TRAEFIK_IMAGE:-traefik:v2.6.1}
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: '3.8'
|
||||||
services:
|
services:
|
||||||
watchtower:
|
watchtower:
|
||||||
container_name: ${WATCHTOWER_CONTAINER_NAME}
|
container_name: ${WATCHTOWER_CONTAINER_NAME}
|
||||||
image: ${WATCHTOWER_IMAGE:-containrrr/watchtower:1.4.0@sha256:bbf9794a691b59ed2ed3089fec53844f14ada249ee5e372ff0e595b73f4e9ab3}
|
image: ${WATCHTOWER_IMAGE:-containrrr/watchtower:1.4.0}
|
||||||
restart: always
|
restart: always
|
||||||
command: -i 60 --label-enable --cleanup --debug
|
command: -i 60 --label-enable --cleanup --debug
|
||||||
# --debug
|
# --debug
|
||||||
|
|
Loading…
Reference in New Issue