mirror of
https://github.com/plausible/hosting.git
synced 2024-10-18 02:34:44 -05:00
Update compose.example.yml
This commit is contained in:
parent
20e4049890
commit
7e882c60ad
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user