diff --git a/compose.yml b/compose.yml index 428087d..72ab99c 100644 --- a/compose.yml +++ b/compose.yml @@ -5,4 +5,5 @@ services: dockerfile: Containerfile volumes: - ./:/code - network_mode: host + ports: + - "8000:8000" diff --git a/justfile b/justfile index 79ade0f..35b39de 100644 --- a/justfile +++ b/justfile @@ -15,5 +15,5 @@ tests: # Run the local Symfony preview app at http://localhost:8000 serve: - @docker compose run --rm php sh -c "rm -rf dev/var/cache && php -S 0.0.0.0:8000 -t dev/public" + @docker compose run --rm --service-ports php sh -c "rm -rf dev/var/cache && php -S 0.0.0.0:8000 -t dev/public"