Skip to content

Chore/pimcore template #26

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
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
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# PhpStorm / IDEA
.idea
# NetBeans
nbproject
# VS Code
.prettierrc.js
9 changes: 9 additions & 0 deletions templates/pimcore-php8.0/.env.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Port configuration
WEB_PORT_HTTP=80
WEB_PORT_HTTPS=443

# Database
DB_HOST=db
DB_USER=pimcore
DB_PASS=pimcore
DB_NAME=pimcore
42 changes: 42 additions & 0 deletions templates/pimcore-php8.0/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: '3.4'
x-custom:
type: pimcore-php8.0
version: 1.0.0
php-environment: &php-env-vars
# Database settings
DB_HOST: ~
DB_USER: ~
DB_PASS: ~
DB_NAME: ~

services:
php:
image: youwe-pimcore-php:8.0-apache
working_dir: "${PWD}"
volumes:
- "${PWD}:${PWD}"
ports:
- "${WEB_PORT_HTTP:-80}:80"
- "${WEB_PORT_HTTPS:-443}:443"
environment:
<<: *php-env-vars
WWW_DATA_UID: "${CUID}"
WWW_DATA_GID: "${CGID}"
DOCUMENT_ROOT: "${PWD}/${PROJECT_DOCUMENT_ROOT-public}"

console:
image: youwe-pimcore-console:8.0
user: "${CUID}:${CGID}"
working_dir: "${PWD}"
volumes:
- "${HOME}:${CHOME}"
- "${PWD}:${PWD}"
- "${SSH_AUTH_SOCK}:${SSH_AUTH_SOCK}"
- /etc/group:/etc/group:ro
- /etc/passwd:/etc/passwd:ro
- /etc/shadow:/etc/shadow:ro
environment:
<<: *php-env-vars

#volumes:
# pimcore-demo-database: