Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pimcore env type implementation #653

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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