Skip to content

Commit b960a03

Browse files
committed
docker
1 parent da33e51 commit b960a03

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

examples/docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ services:
1212
entrypoint: certbot
1313
command: >
1414
certonly
15+
--agree-tos
16+
--non-interactive
17+
--email dns@${DOMAIN}
1518
--authenticator dns-stackit
1619
--dns-stackit-credentials /stackit.ini
1720
--dns-stackit-propagation-seconds 60

examples/readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,11 @@ WILDCARD=*.example.com
3535
### 3. Run Certbot
3636
```
3737
docker compose up certbot
38+
```
39+
40+
### 4. Cert permission
41+
42+
The certs and the live folder will be `root:root`, in order to access them with your user
43+
```bash
44+
sudo chown -R $(id -u):$(id -g) ./letsencrypt
3845
```

0 commit comments

Comments
 (0)