mirror of
https://github.com/simple-login/app.git
synced 2025-02-20 22:02:54 +08:00
add "--restart always" to postgres, webapp and email_handler
This commit is contained in:
parent
98fd940b02
commit
49b9167de4
1 changed files with 3 additions and 0 deletions
|
@ -285,6 +285,7 @@ sudo docker run -d \
|
|||
-e POSTGRES_USER=myuser \
|
||||
-e POSTGRES_DB=simplelogin \
|
||||
-p 5432:5432 \
|
||||
--restart always \
|
||||
--network="sl-network" \
|
||||
postgres:12.1
|
||||
```
|
||||
|
@ -476,6 +477,7 @@ sudo docker run -d \
|
|||
-v $(pwd)/dkim.key:/dkim.key \
|
||||
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
||||
-p 7777:7777 \
|
||||
--restart always \
|
||||
--network="sl-network" \
|
||||
simplelogin/app:1.0.3
|
||||
```
|
||||
|
@ -489,6 +491,7 @@ sudo docker run -d \
|
|||
-v $(pwd)/dkim.key:/dkim.key \
|
||||
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
||||
-p 20381:20381 \
|
||||
--restart always \
|
||||
--network="sl-network" \
|
||||
simplelogin/app:1.0.3 python email_handler.py
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue