Skip to content

Commit

Permalink
fix(tool): Use host network for dev container
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Oct 28, 2024
1 parent 7cffea0 commit 30f207f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo "Running development instance on http://localhost. To access it in an Andro

tag="$(preset_image_tag "$preset")"
volume="nextcloud-neon-dev-$(echo "$tag" | cut -d ":" -f 2)"
container="$(docker run -d --rm -v "$volume":/usr/src/nextcloud -v "$volume":/var/www/html -p "80:80" --add-host=host.docker.internal:host-gateway "$tag")"
container="$(docker run -d --rm -v "$volume":/usr/src/nextcloud -v "$volume":/var/www/html --network=host "$tag")"
function cleanup() {
docker kill "$container"
}
Expand Down

0 comments on commit 30f207f

Please sign in to comment.