mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
Add Chevereto blueprint with Docker Compose and configuration files
- Introduced Docker Compose setup for Chevereto service, including environment variables and volume configuration. - Added logo for Chevereto. - Created template.toml for Chevereto with default variables for configuration.
This commit is contained in:
parent
b0edca5d4d
commit
8baf6eda5c
38
blueprints/chevereto/docker-compose.yml
Normal file
38
blueprints/chevereto/docker-compose.yml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
chevereto:
|
||||||
|
image: chevereto/chevereto:4
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- CHEVERETO_DB_HOST=mysql
|
||||||
|
- CHEVERETO_DB_USER=mysql
|
||||||
|
- CHEVERETO_DB_PASS=${DB_PASSWORD}
|
||||||
|
- CHEVERETO_DB_PORT=3306
|
||||||
|
- CHEVERETO_DB_NAME=chevereto
|
||||||
|
- CHEVERETO_HOSTNAME=${DOMAIN}
|
||||||
|
- CHEVERETO_HOSTNAME_PATH=/
|
||||||
|
- CHEVERETO_HTTPS=0
|
||||||
|
- CHEVERETO_MAX_POST_SIZE=2G
|
||||||
|
- CHEVERETO_MAX_UPLOAD_SIZE=2G
|
||||||
|
ports:
|
||||||
|
- 80
|
||||||
|
volumes:
|
||||||
|
- storage:/var/www/html/images/
|
||||||
|
depends_on:
|
||||||
|
- mysql
|
||||||
|
|
||||||
|
mysql:
|
||||||
|
image: mysql:8
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD}
|
||||||
|
- MYSQL_DATABASE=chevereto
|
||||||
|
- MYSQL_USER=mysql
|
||||||
|
- MYSQL_PASSWORD=${DB_PASSWORD}
|
||||||
|
volumes:
|
||||||
|
- mysql:/var/lib/mysql
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
storage:
|
||||||
|
mysql:
|
BIN
blueprints/chevereto/logo.png
Normal file
BIN
blueprints/chevereto/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
13
blueprints/chevereto/template.toml
Normal file
13
blueprints/chevereto/template.toml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[variables]
|
||||||
|
main_domain = "${domain}"
|
||||||
|
db_password = "${password:16}"
|
||||||
|
|
||||||
|
[config]
|
||||||
|
[[config.domains]]
|
||||||
|
serviceName = "chevereto"
|
||||||
|
port = 80
|
||||||
|
host = "${main_domain}"
|
||||||
|
|
||||||
|
[config.env]
|
||||||
|
DB_PASSWORD = "${db_password}"
|
||||||
|
DOMAIN = "${main_domain}"
|
Loading…
Reference in New Issue
Block a user