mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
Add ClassicPress blueprint with Docker Compose and configuration files
- Introduced Docker Compose setup for ClassicPress service, including environment variables and volume configuration. - Added logo for ClassicPress. - Created template.toml for ClassicPress with default variables for configuration.
This commit is contained in:
30
blueprints/classicpress/docker-compose.yml
Normal file
30
blueprints/classicpress/docker-compose.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
classicpress:
|
||||
image: classicpress/classicpress:php8.3-apache
|
||||
ports:
|
||||
- "80"
|
||||
environment:
|
||||
- WORDPRESS_DB_HOST=db
|
||||
- WORDPRESS_DB_USER=wordpress
|
||||
- WORDPRESS_DB_PASSWORD=${DB_PASSWORD}
|
||||
- WORDPRESS_DB_NAME=wordpress
|
||||
volumes:
|
||||
- wordpress-data:/var/www/html
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: mariadb:10.6
|
||||
environment:
|
||||
- MYSQL_DATABASE=wordpress
|
||||
- MYSQL_USER=wordpress
|
||||
- MYSQL_PASSWORD=${DB_PASSWORD}
|
||||
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD}
|
||||
volumes:
|
||||
- db-data:/var/lib/mysql
|
||||
|
||||
volumes:
|
||||
wordpress-data:
|
||||
db-data:
|
||||
Reference in New Issue
Block a user