Просмотр исходного кода

updated readme and named container

cia-freehand
toj 5 лет назад
Родитель
Сommit
a0caa22098
2 измененных файлов: 5 добавлений и 4 удалений
  1. 3
    3
      README.md
  2. 2
    1
      docker-compose.yml

+ 3
- 3
README.md Просмотреть файл

@@ -19,6 +19,6 @@ Stop and remove containers: ./kill_production.sh
19 19
 
20 20
 Generate new keys with certbot:
21 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 Просмотреть файл

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

Загрузка…
Отмена
Сохранить