Skip to content

Commit 2a13ddc

Browse files
Update examples
1 parent 4733aad commit 2a13ddc

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ are found inside the [`nginx-certbot.env`](./examples/nginx-certbot.env) file
117117
will be overwritten by any environment variables you set inside the `.yaml`
118118
file.
119119

120+
> NOTE: You can use both `environment:` and `env_file:` togheter or only one
121+
of them, the only requirement is that `CERTBOT_EMAIL` is defined
122+
somewhere.
123+
120124
Like in the example above, you just need to place your custom server configs
121125
inside your [`user_conf.d/`](./docs/good_to_know.md#the-user_confd-folder)
122126
folder beforehand. Then you start it all with the following command.

examples/docker-compose.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ services:
66
restart: unless-stopped
77
environment:
88
- CERTBOT_EMAIL
9-
- STAGING
10-
- DHPARAM_SIZE
11-
- RSA_KEY_SIZE
12-
- ELLIPTIC_CURVE
13-
- USE_ECDSA
14-
- RENEWAL_INTERVAL
15-
- DEBUG
169
env_file:
1710
- ./nginx-certbot.env
1811
ports:

examples/nginx-certbot.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ RSA_KEY_SIZE=2048
88
ELLIPTIC_CURVE=secp256r1
99
USE_ECDSA=0
1010
RENEWAL_INTERVAL=8d
11+
12+
# Advanced (Defaults)
1113
DEBUG=0
14+
USE_LOCAL_CA=0

0 commit comments

Comments
 (0)