Add web interface and Docker deployment
Expose the paste tool through a lightweight web UI/API and provide the container setup required for the publicpaste service.
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
publicpaste:
|
||||
image: publicpaste
|
||||
container_name: publicpaste
|
||||
network_mode: bridge
|
||||
ports:
|
||||
- "12072:12072"
|
||||
volumes:
|
||||
- /vol1/1000/docker/publicpaste/data:/data
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
PUBLICPASTE_HOST: 0.0.0.0
|
||||
PUBLICPASTE_PORT: "12072"
|
||||
PUBLICPASTE_DATA_DIR: /data
|
||||
PUBLICPASTE_TIMEOUT: "8.0"
|
||||
PUBLICPASTE_OVERALL_TIMEOUT: "12.0"
|
||||
PUBLICPASTE_VERIFY: "false"
|
||||
restart: always
|
||||
Reference in New Issue
Block a user