Skip to content

Commit dbebd77

Browse files
authored
Merge pull request #15 from ghostwheel42/fix_cronjobs
fixed reset of admin account password
2 parents 14bab38 + 68c0f77 commit dbebd77

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

demo/.env

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,9 @@ REAL_IP_FROM=
152152

153153
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
154154
REJECT_UNLISTED_RECIPIENT=
155+
156+
# initial admin account for demo
157+
INITIAL_ADMIN_ACCOUNT=admin
158+
INITIAL_ADMIN_DOMAIN=test.mailu.io
159+
INITIAL_ADMIN_PW=letmein
160+
INITIAL_ADMIN_MODE=update

demo/admin-pw.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
cd /opt/infra/demo
3-
/usr/local/bin/docker-compose exec -d admin flask mailu password admin test.mailu.io letmein
3+
/usr/local/bin/docker-compose exec admin flask mailu admin --mode update admin test.mailu.io letmein >/dev/null

demo/reset.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ cd /opt/infra/demo
44
/usr/local/bin/docker-compose down || exit 1
55
rm -rf /mailu
66
/usr/local/bin/docker-compose up -d || exit 1
7-
sleep 30
8-
/usr/local/bin/docker-compose exec -d admin flask mailu admin admin test.mailu.io letmein || exit 1

0 commit comments

Comments
 (0)