Skip to content

Commit

Permalink
Improvement naming (Docker Image and XDebug session_id)
Browse files Browse the repository at this point in the history
  • Loading branch information
alaugks committed Oct 9, 2024
1 parent 9fb6924 commit f8dfc4a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .run/localhost.run.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="localhost" type="PhpRemoteDebugRunConfigurationType" factoryName="PHP Remote Debug" filter_connections="FILTER" server_name="localhost" session_id="attribute_article">
<configuration default="false" name="localhost" type="PhpRemoteDebugRunConfigurationType" factoryName="PHP Remote Debug" filter_connections="FILTER" server_name="localhost" session_id="article_symfony_serializer">
<method v="2" />
</configuration>
</component>
</component>
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ docker compose -f docker-compose.yml up --build -d

### Run composer install
```bash
docker exec attribute_article composer install
docker exec article_symfony_serializer composer install
```

### Run tests
```bash
docker exec attribute_article bin/phpunit
docker exec article_symfony_serializer bin/phpunit
```

### Open bash

```bash
docker exec -it attribute_article bash
docker exec -it article_symfony_serializer bash
```

## Frontend
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.6'
services:
php:
container_name: attribute_article
container_name: article_symfony_serializer
image: alaugks/apache-php:8.2.21-v2.0-xdebug
volumes:
- ./app:/var/www/app
Expand All @@ -10,4 +10,4 @@ services:
environment:
APPLICATION_ENV: "docker"
PHP_IDE_CONFIG: "serverName=localhost"
XDEBUG_CONFIG: "idekey=attribute_article"
XDEBUG_CONFIG: "idekey=article_symfony_serializer"

0 comments on commit f8dfc4a

Please sign in to comment.