From 7e882c60ad389c9948a05d87a9b65041344fd0eb Mon Sep 17 00:00:00 2001 From: ruslandoga Date: Wed, 17 Jul 2024 23:31:32 +0700 Subject: [PATCH] Update compose.example.yml --- compose.example.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/compose.example.yml b/compose.example.yml index 6be1c5f..65a881f 100644 --- a/compose.example.yml +++ b/compose.example.yml @@ -25,7 +25,7 @@ services: plausible: image: ghcr.io/plausible/community-edition:v2.1.2 restart: always - command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run" + command: sh -c "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run" depends_on: - plausible_db - plausible_events_db @@ -35,15 +35,14 @@ services: volumes: - plausible-data:/var/lib/plausible environment: - - BASE_URL=replace-me - - SECRET_KEY_BASE=replace-me - - TOTP_VAULT_KEY=replace-me - - DATA_DIR=/var/lib/plausible - - SITE_ENCRYPT_DIRECTORY_URL=https://acme-v02.api.letsencrypt.org/directory - - SITE_ENCRYPT_DB_FOLDER=/var/lib/plausible/site_encrypt_db - - SITE_ENCRYPT_MODE=auto - - SITE_ENCRYPT_CLIENT=certbot - LOG_LEVEL=notice + # replace with the URL where your dashboard would be accessible + # ensure https:// scheme if you use https + - BASE_URL=replace-me + # use `openssl rand -base64 48` to generate a $SECRET_KEY_BASE + - SECRET_KEY_BASE=replace-me + - HTTP_PORT=8000 + - HTTPS_PORT=8001 volumes: db-data: