mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2024-12-27 01:10:10 +08:00
Updated Run acme.sh in docker (markdown)
parent
88291404cd
commit
94c7ebab86
@ -69,8 +69,23 @@ docker run --rm -itd \
|
||||
--name=acme.sh \
|
||||
neilpang/acme.sh daemon
|
||||
```
|
||||
|
||||
Or run acme.sh by using `Docker Compose`:
|
||||
```yaml
|
||||
services:
|
||||
acme-sh:
|
||||
image: neilpang/acme.sh
|
||||
container_name: acme.sh
|
||||
volumes:
|
||||
- ./out:/acme.sh
|
||||
network_mode: host
|
||||
command: daemon
|
||||
stdin_open: true
|
||||
tty: true
|
||||
restart: no
|
||||
```
|
||||
|
||||
```sh
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
### 2. Then you can just use `docker exec` to execute any acme.sh commands.
|
||||
|
Loading…
Reference in New Issue
Block a user