mirror of
https://github.com/plausible/hosting.git
synced 2024-12-22 20:13:17 -06:00
Create admin when booting up
This commit is contained in:
parent
2229a63ee4
commit
98f72b21ec
@ -26,7 +26,7 @@ services:
|
||||
|
||||
plausible:
|
||||
image: plausible/analytics:dev
|
||||
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
|
||||
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin /entrypoint.sh run"
|
||||
depends_on:
|
||||
- plausible_db
|
||||
- plausible_events_db
|
||||
|
Loading…
Reference in New Issue
Block a user