Ostatnio aktywny 1740241071

npm nginx proxy manager docker https letsencrypt

emanuelegori's Avatar emanuelegori zrewidował ten Gist 1740241071. Przejdź do rewizji

Brak zmian

emanuelegori's Avatar emanuelegori zrewidował ten Gist 1734259074. Przejdź do rewizji

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's Avatar emanuelegori zrewidował ten Gist 1734258925. Przejdź do rewizji

1 file changed, 19 insertions

docker-compose.yml(stworzono plik)

@@ -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
Nowsze Starsze