diff --git a/.gitignore b/.gitignore index 5626832..0015d4c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ app/node_modules app/vendor app/.env +docker-compose.override.yml diff --git a/app/composer.lock b/app/composer.lock index 38261f4..9caa87b 100644 --- a/app/composer.lock +++ b/app/composer.lock @@ -6248,12 +6248,12 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { "ext-pdo": "*" }, - "platform-dev": [], + "platform-dev": {}, "plugin-api-version": "2.6.0" } diff --git a/docker-compose.override.yml.sample b/docker-compose.override.yml.sample new file mode 100644 index 0000000..080d15a --- /dev/null +++ b/docker-compose.override.yml.sample @@ -0,0 +1,4 @@ +version: '3.8' +services: + cli: + user: "1000:1000" diff --git a/docker-compose.yml b/docker-compose.yml index cc5bb46..27fb88c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,6 +15,7 @@ services: dockerfile: 'dev/php/Dockerfile' volumes: - './app:/var/www/slovocast' + user: "${UID}:${GID}" entrypoint: [ "bash", "-c" ] profiles: - noboot