Skip to content

Commit e0d244e

Browse files
committed
Upgrade nginx and php, fix .env
1 parent 8c3744a commit e0d244e

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.env.default

+7-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ [email protected]
1010
ADMIN_PW=admin
1111
TESTER_PW=tester
1212
PROJECT_INSTALL=
13-
IMAGE_PHP=skilldlabs/php:73-fpm
14-
IMAGE_NGINX=skilldlabs/nginx:1.16
13+
IMAGE_PHP=skilldlabs/php:74-fpm
14+
IMAGE_NGINX=skilldlabs/nginx:1.18
1515
IMAGE_FRONT=node:lts-alpine
1616
IMAGE_SOLR=solr:8-slim
1717
IMAGE_REDIS=redis:5-alpine
@@ -20,9 +20,12 @@ CLEAR_FRONT_PACKAGES=no
2020
ADD_PHP_EXT=
2121
MAIN_DOMAIN_NAME=docker.localhost
2222
DB_URL=sqlite:./../.cache/d8.sqlite
23-
#DB_URL=sqlite:///dev/shm/d8.sqlite # Faster but data will be lost on php container recreation
23+
# Faster but data will be lost on php container recreation
24+
#DB_URL=sqlite:///dev/shm/d8.sqlite
2425
#DB_URL=mysql://d8:d8@mysql/d8
25-
DB_DATA_DIR=../.cache # Include path to this folder to your .gitignore if you override it
26+
# Include path to this folder to your .gitignore if you override it
27+
DB_DATA_DIR=../.cache
28+
#DB_DATA_DIR=/dev/shm
2629
# We're connecting through TCP. Use "redis" as host, and "6379" as port.
2730
REDIS_HOST=redis
2831
REDIS_PORT=6379

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ COMPOSE_NET_NAME := $(COMPOSE_PROJECT_NAME)_front
2727
# Execute php container as regular user
2828
php = docker-compose exec -T --user $(CUID):$(CGID) php ${1}
2929
# Execute php container as root user
30-
php-0 = docker-compose exec -T php ${1}
30+
php-0 = docker-compose exec -T --user 0:0 php ${1}
3131

3232
## Full site install from the scratch
3333
all: | provision back front si localize hooksymlink info

0 commit comments

Comments
 (0)