Skip to content

Commit d60cbcd

Browse files
chore: add Pimcore template
1 parent 8fd9156 commit d60cbcd

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

templates/pimcore-php8.0/.env.dev

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Port configuration
2+
WEB_PORT_HTTP=80
3+
WEB_PORT_HTTPS=443
4+
5+
# Database
6+
DB_HOST=db
7+
DB_USER=pimcore
8+
DB_PASS=pimcore
9+
DB_NAME=pimcore
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
version: '3.4'
2+
x-custom:
3+
type: pimcore-php8.0
4+
version: 1.0.0
5+
php-environment: &php-env-vars
6+
# Database settings
7+
DB_HOST: ~
8+
DB_USER: ~
9+
DB_PASS: ~
10+
DB_NAME: ~
11+
12+
services:
13+
php:
14+
image: youwe-pimcore-php:8.0-apache
15+
working_dir: "${PWD}"
16+
volumes:
17+
- "${PWD}:${PWD}"
18+
ports:
19+
- "${WEB_PORT_HTTP:-80}:80"
20+
- "${WEB_PORT_HTTPS:-443}:443"
21+
environment:
22+
<<: *php-env-vars
23+
WWW_DATA_UID: "${CUID}"
24+
WWW_DATA_GID: "${CGID}"
25+
DOCUMENT_ROOT: "${PWD}/${PROJECT_DOCUMENT_ROOT-public}"
26+
27+
console:
28+
image: youwe-pimcore-console:8.0
29+
user: "${CUID}:${CGID}"
30+
working_dir: "${PWD}"
31+
volumes:
32+
- "${HOME}:${CHOME}"
33+
- "${PWD}:${PWD}"
34+
- "${SSH_AUTH_SOCK}:${SSH_AUTH_SOCK}"
35+
- /etc/group:/etc/group:ro
36+
- /etc/passwd:/etc/passwd:ro
37+
- /etc/shadow:/etc/shadow:ro
38+
environment:
39+
<<: *php-env-vars
40+
41+
#volumes:
42+
# pimcore-demo-database:

0 commit comments

Comments
 (0)