diff --git a/doc/USAGE_CHECKLIST.md b/doc/USAGE_CHECKLIST.md index b5339c7c4..5f7142287 100644 --- a/doc/USAGE_CHECKLIST.md +++ b/doc/USAGE_CHECKLIST.md @@ -31,12 +31,15 @@ started to use this template. * [ ] Application configuration * [ ] [.env](../.env) Change `APP_SECRET` value with new one, you can use eg. [this](http://nux.net/secret) tool for that. Also remember to - change that `APP_SECRET` value in [.env.test](../.env.test) and + change that `APP_SECRET` value in [.env.test](../.env.test) and in + [.env.gh-actions](../.env.gh-actions) files. * [ ] [application.json](../secrets/application.json) Change file contents to match your application configuration - specially you need to generate new `JWT_PASSPHRASE` value. Also remember to do those changes to [application_test.json](../secrets/application_test.json) files. + * [ ] [docker-compose.yml](../docker-compose.yml) Change `container_name` to + match your application. * [ ] 3rd party services that you might not need _or_ you need to change those to work with _your_ application - if you don't need to use those services just delete those files and all is done. diff --git a/docker-compose.yml b/docker-compose.yml index d6f9a7a85..94365c1ed 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,7 @@ version: '3' services: php: + container_name: symfony-backend-php-fpm build: context: . dockerfile: ./Dockerfile_dev @@ -24,11 +25,13 @@ services: TRUSTED_PROXIES: "127.0.0.1,REMOTE_ADDR" nginx: + container_name: symfony-backend-nginx build: context: ./docker/nginx/ args: HOST_UID: $HOST_UID HOST_GID: $HOST_GID + user: $HOST_UID:$HOST_GID depends_on: - php ports: @@ -39,6 +42,7 @@ services: #- /app/var/ mysql: + container_name: symfony-backend-mysql build: context: ./docker/mysql/ command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci