Run plausible migrations on startup

This commit is contained in:
Jake Howard 2020-08-04 22:07:45 +01:00
parent 19c134564a
commit 384a07b513
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -4,6 +4,7 @@ services:
plausible:
image: plausible/analytics:latest
restart: unless-stopped
command: sh -c "/entrypoint.sh db migrate && /entrypoint.sh run"
depends_on:
- db
- clickhouse