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:
|
plausible:
|
||||||
image: ghcr.io/plausible/community-edition:v2.1.2
|
image: ghcr.io/plausible/community-edition:v2.1.2
|
||||||
restart: always
|
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:
|
depends_on:
|
||||||
- plausible_db
|
- plausible_db
|
||||||
- plausible_events_db
|
- plausible_events_db
|
||||||
@ -35,15 +35,14 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- plausible-data:/var/lib/plausible
|
- plausible-data:/var/lib/plausible
|
||||||
environment:
|
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
|
- 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:
|
volumes:
|
||||||
db-data:
|
db-data:
|
||||||
|
Loading…
Reference in New Issue
Block a user