first commit

This commit is contained in:
Mabe
2026-05-07 20:53:10 +02:00
commit 7ddff5ac9b
16 changed files with 1359 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
PG_PASS = SuperSecretPassword
PG_USER = npm
@@ -0,0 +1,37 @@
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
container_name: npm
ports:
# These ports are in format <host-port>:<container-port>
- '80:80' # Public HTTP Port
- '443:443' # Public HTTPS Port
- '81:81' # Admin Web Port
# Add any other Stream port you want to expose
# - '21:21' # FTP
environment:
TZ: "Europe/Berlin"
# Postgres parameters:
DB_POSTGRES_HOST: 'db'
DB_POSTGRES_PORT: '5432'
DB_POSTGRES_USER: ${PG_USER:-npm}
DB_POSTGRES_PASSWORD: ${PG_PASS}
DB_POSTGRES_NAME: 'npm'
# Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
depends_on:
- db
db:
image: postgres:17
container_name: npm-db
environment:
POSTGRES_USER: ${PG_USER:-npm}
POSTGRES_PASSWORD: ${PG_PASS}
POSTGRES_DB: 'npm'
volumes:
- ./postgresql:/var/lib/postgresql