This commit is contained in:
Jarosław Karcewicz 2022-08-20 20:15:50 +02:00
parent 5067823b61
commit 19dd664a01
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,26 @@
version: "2"
services:
lenpaste:
image: git.lcomrade.su/root/lenpaste:latest
restart: always
environment:
# All parameters are optional
- LENPASTE_ADDRESS=:80 # Set -address flag
- LENPASTE_DB_DRIVER=sqlite3 # Set -db-driver flag
- LENPASTE_DB_SOURCE=/data/lenpaste.db # Set -db-source flag
- LENPASTE_DB_CLEANUP_PERIOD=3h # Set -db-cleanup-period flag
- LENPASTE_ROBOTS_DISALLOW=true # If true set -robots-disallow flag
- LENPASTE_TITLE_MAX_LENGTH=200 # Set -title-max-length flag. If 0 disable title, if -1 disable length limi - LENPASTE_BODY_MAX_LENGTH=20000 # Set -body-max-length flag. If -1 disable length limit. Can't be -1.
- LENPASTE_MAX_PASTE_LIFETIME=never # Set -max-paste-lifetime flag. Examples: 2d, 12h, 7m.
- LENPASTE_ADMIN_NAME=adminakademia # Set -admin-name flag.
- LENPASTE_ADMIN_MAIL=kontakt@adminakademia.pl # Set -admin-mail flag.
volumes:
# /data/lenpaste.db - SQLite DB
# /data/about.html - About this server
# /data/rules.html - This server rules
- "/docker/lenpaste:/data"
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
ports:
- "8765:80"

View File

@ -0,0 +1,9 @@
version: '3'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
container_name: nginx-proxy-manager
ports:
- '80:80'
- '81:81'
- '443:443'