Browse Source

updated readme and named container

cia-freehand
toj 5 years ago
parent
commit
a0caa22098
2 changed files with 5 additions and 4 deletions
  1. 3
    3
      README.md
  2. 2
    1
      docker-compose.yml

+ 3
- 3
README.md View File

19
 
19
 
20
 Generate new keys with certbot:
20
 Generate new keys with certbot:
21
     -Check using `sudo certbot renew --dry-run`
21
     -Check using `sudo certbot renew --dry-run`
22
-    -Run the commands inside the `generatekeys.sh`
23
-    -DO NOT run `generatekeys.sh` as a script
24
-    -Run the `./rebuild.sh` script to use the new keys
22
+    -Run the commands inside the `renew_keys.sh`
23
+    -DO NOT run `renew_keys.sh` as a script
24
+    -Run the `./rebuild_production.sh` script to use the new keys

+ 2
- 1
docker-compose.yml View File

2
 
2
 
3
 services:
3
 services:
4
     nginx:
4
     nginx:
5
+	container_name: "nginx-proxy"
5
         build:
6
         build:
6
             context: .
7
             context: .
7
             dockerfile: ./nginx/Dockerfile
8
             dockerfile: ./nginx/Dockerfile
9
         ports:
10
         ports:
10
             - "80:80"
11
             - "80:80"
11
             - "443:443"
12
             - "443:443"
12
-        restart: always
13
+        restart: always

Loading…
Cancel
Save