You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 6, 2021. It is now read-only.
Copy file name to clipboardexpand all lines: README.md
+21-11
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,8 @@ Here are some example snippets to help you get started creating a container.
52
52
docker create \
53
53
--name=letsencrypt \
54
54
--cap-add=NET_ADMIN \
55
-
-e PUID=1001 \
56
-
-e PGID=1001 \
55
+
-e PUID=1000 \
56
+
-e PGID=1000 \
57
57
-e TZ=Europe/London \
58
58
-e URL=yourdomain.url \
59
59
-e SUBDOMAINS=www, \
@@ -87,8 +87,8 @@ services:
87
87
cap_add:
88
88
- NET_ADMIN
89
89
environment:
90
-
- PUID=1001
91
-
- PGID=1001
90
+
- PUID=1000
91
+
- PGID=1000
92
92
- TZ=Europe/London
93
93
- URL=yourdomain.url
94
94
- SUBDOMAINS=www,
@@ -105,7 +105,6 @@ services:
105
105
ports:
106
106
- 443:443
107
107
- 80:80 #optional
108
-
mem_limit: 4096m
109
108
restart: unless-stopped
110
109
```
111
110
@@ -117,8 +116,8 @@ Container images are configured using parameters passed at runtime (such as thos
117
116
| :----: | --- |
118
117
|`-p 443`| Https port |
119
118
|`-p 80`| Http port (required for http validation only) |
120
-
|`-e PUID=1001`| for UserID - see below for explanation |
121
-
|`-e PGID=1001`| for GroupID - see below for explanation |
119
+
|`-e PUID=1000`| for UserID - see below for explanation |
120
+
|`-e PGID=1000`| for GroupID - see below for explanation |
122
121
|`-e TZ=Europe/London`| Specify a timezone to use EG Europe/London. |
123
122
|`-e URL=yourdomain.url`| Top url you have control over (`customdomain.com` if you own it, or `customsubdomain.ddnsprovider.com` if dynamic dns). |
124
123
|`-e SUBDOMAINS=www,`| Subdomains you'd like the cert to cover (comma separated, no spaces) ie. `www,ftp,cloud`. For a wildcard cert, set this _exactly_ to `wildcard` (wildcard cert is available via `dns` and `duckdns` validation only) |
@@ -138,11 +137,11 @@ When using volumes (`-v` flags) permissions issues can arise between the host OS
138
137
139
138
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
140
139
141
-
In this instance `PUID=1001` and `PGID=1001`, to find yours use `id user` as below:
140
+
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
0 commit comments