mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
Add anonupload blueprint with Docker Compose and configuration files
- Introduced Docker Compose setup for anonupload service with environment variables and volume configuration. - Added logo for anonupload. - Created template.toml for anonupload with default variables for configuration.
This commit is contained in:
parent
df67a6f872
commit
a4118655ef
16
blueprints/anonupload/docker-compose.yml
Normal file
16
blueprints/anonupload/docker-compose.yml
Normal file
@ -0,0 +1,16 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
anonupload:
|
||||
image: ghcr.io/supernova3339/anonfiles:1
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 80
|
||||
environment:
|
||||
- ADMIN_EMAIL=${ADMIN_EMAIL}
|
||||
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
||||
- CONTACT_EMAIL=${CONTACT_EMAIL}
|
||||
volumes:
|
||||
- uploads:/var/www/html/uploads
|
||||
|
||||
volumes:
|
||||
uploads: {}
|
BIN
blueprints/anonupload/logo.png
Normal file
BIN
blueprints/anonupload/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 258 KiB |
16
blueprints/anonupload/template.toml
Normal file
16
blueprints/anonupload/template.toml
Normal file
@ -0,0 +1,16 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
admin_email = "${email}"
|
||||
admin_password = "${password:16}"
|
||||
contact_email = "${email}"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "anonupload"
|
||||
port = 80
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
ADMIN_EMAIL = "${admin_email}"
|
||||
ADMIN_PASSWORD = "${admin_password}"
|
||||
CONTACT_EMAIL = "${contact_email}"
|
Loading…
Reference in New Issue
Block a user