diff --git a/Makefile b/Makefile index 73bfad5..f64dd6e 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,10 @@ start: stop: docker compose down -setup: start install-plugins +setup: start install-plugins fix-perms + +fix-perms: + docker exec intotheeast_grav chown -R 1000:1000 /var/www/html install-plugins: docker exec -w /var/www/html intotheeast_grav php bin/gpm install $(shell cat plugins.txt | tr '\n' ' ') -y diff --git a/docker-compose.yml b/docker-compose.yml index 560ef93..ab2789c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,8 @@ services: container_name: intotheeast_grav environment: - GRAV_CHANNEL=beta + - APACHE_RUN_USER=#1000 + - APACHE_RUN_GROUP=#1000 ports: - "8081:80" volumes: