mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-03-31 20:10:08 +08:00
Updated Run acme.sh in docker (markdown)
parent
94c7ebab86
commit
1b8d162e47
@ -69,7 +69,11 @@ docker run --rm -itd \
|
|||||||
--name=acme.sh \
|
--name=acme.sh \
|
||||||
neilpang/acme.sh daemon
|
neilpang/acme.sh daemon
|
||||||
```
|
```
|
||||||
|
|
||||||
Or run acme.sh by using `Docker Compose`:
|
Or run acme.sh by using `Docker Compose`:
|
||||||
|
|
||||||
|
Edit `docker-compose.yml`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
acme-sh:
|
acme-sh:
|
||||||
@ -84,6 +88,8 @@ services:
|
|||||||
restart: no
|
restart: no
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then run acme.sh:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user