Skip to content

Commit

Permalink
Implemented Pimcore env type
Browse files Browse the repository at this point in the history
  • Loading branch information
dudzio12 committed Nov 21, 2023
1 parent 037a46a commit 1c5b6e3
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
3 changes: 3 additions & 0 deletions commands/env-init.help
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@ WARDEN_USAGE=$(cat <<EOF
wordpress Nginx, php-fpm, db
pre-configured for running Wordpress
pimcore Nginx, php-fpm, db
pre-configured for running Pimcore
EOF
)
8 changes: 8 additions & 0 deletions environments/pimcore/db.base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: "3.5"
services:
db:
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-pimcore}
- MYSQL_DATABASE=${MYSQL_DATABASE:-pimcore}
- MYSQL_USER=${MYSQL_USER:-pimcore}
- MYSQL_PASSWORD=${MYSQL_PASSWORD:-pimcore}
17 changes: 17 additions & 0 deletions environments/pimcore/init.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

WARDEN_DB=1
WARDEN_REDIS=0
WARDEN_RABBITMQ=0
WARDEN_ELASTICSEARCH=0
WARDEN_VARNISH=0

MYSQL_DISTRIBUTION=mariadb
MYSQL_DISTRIBUTION_VERSION=10.4
NODE_VERSION=12
COMPOSER_VERSION=2
PHP_VERSION=8.1
PHP_XDEBUG_3=1
RABBITMQ_VERSION=3.8
REDIS_VERSION=5.0
VARNISH_VERSION=6.0

6 changes: 6 additions & 0 deletions environments/pimcore/pimcore.base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: "3.5"
services:
nginx:
environment:
- NGINX_PUBLIC=/web
- NGINX_TEMPLATE=pimcore.conf

0 comments on commit 1c5b6e3

Please sign in to comment.