services: add npm

This commit is contained in:
tylen 2025-06-04 22:55:44 +03:00
parent 289e74239a
commit c3ecdba611
3 changed files with 24 additions and 0 deletions

3
services/npm/.env Normal file
View File

@ -0,0 +1,3 @@
# Dot Env for service npm created at Wed Jun 4 10:18:36 PM EEST 2025
NPM_DATA='/home/vm-user/local-apps/npm'
NPM_LETSENCRYPT='/home/vm-user/local-apps/npm/Letsencrypt'

View File

@ -0,0 +1,12 @@
# Docker Compose for service npm created at Wed Jun 4 10:18:36 PM EEST 2025
services:
app:
image: 'docker.io/jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '${SVC_PORT_1}:80'
- '${SVC_PORT_2}:81'
- '${SVC_PORT_3}:443'
volumes:
- ${NPM_DATA}:/data
- ${NPM_LETSENCRYPT}:/etc/letsencrypt

View File

@ -146,3 +146,12 @@ services:
host:
<<: *vm-network-100-75
<<: *defaultServiceValues
- name: "npm"
ports:
- 80
- 81
- 443
host:
<<: *vm-network-100-75
<<: *defaultServiceValues