emanuelegori ревизий этого фрагмента . К ревизии
Без изменений
emanuelegori ревизий этого фрагмента . К ревизии
1 file changed, 4 insertions, 4 deletions
docker-compose.yml
@@ -1,12 +1,12 @@ | |||
1 | 1 | services: | |
2 | - | app: | |
2 | + | npm: | |
3 | 3 | container_name: npm | |
4 | 4 | image: jc21/nginx-proxy-manager:latest | |
5 | 5 | restart: unless-stopped | |
6 | 6 | ports: | |
7 | - | - 80:80 # Public HTTP Port | |
8 | - | - 443:443 # Public HTTPS Port | |
9 | - | - 81:81 # Admin Web Port | |
7 | + | - "80:80" # Public HTTP Port | |
8 | + | - "443:443" # Public HTTPS Port | |
9 | + | - "81:81" # Admin Web Port | |
10 | 10 | networks: | |
11 | 11 | - npm-internal | |
12 | 12 | volumes: |
emanuelegori ревизий этого фрагмента . К ревизии
1 file changed, 19 insertions
docker-compose.yml(файл создан)
@@ -0,0 +1,19 @@ | |||
1 | + | services: | |
2 | + | app: | |
3 | + | container_name: npm | |
4 | + | image: jc21/nginx-proxy-manager:latest | |
5 | + | restart: unless-stopped | |
6 | + | ports: | |
7 | + | - 80:80 # Public HTTP Port | |
8 | + | - 443:443 # Public HTTPS Port | |
9 | + | - 81:81 # Admin Web Port | |
10 | + | networks: | |
11 | + | - npm-internal | |
12 | + | volumes: | |
13 | + | - ./data:/data | |
14 | + | - ./letsencrypt:/etc/letsencrypt | |
15 | + | ||
16 | + | networks: | |
17 | + | npm-internal: | |
18 | + | name: npm-internal | |
19 | + | external: true |