fix(docker): expose nginx+reverb on 0.0.0.0 so NPM reverse proxy can reach them
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main
parent
934cc03367
commit
8801780773
|
|
@ -20,7 +20,7 @@ services:
|
||||||
context: ./docker/nginx
|
context: ./docker/nginx
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8080:80"
|
- "8080:80"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/var/www/html:ro
|
- .:/var/www/html:ro
|
||||||
- app_public:/var/www/html/storage/app/public:ro
|
- app_public:/var/www/html/storage/app/public:ro
|
||||||
|
|
@ -67,7 +67,7 @@ services:
|
||||||
dockerfile: docker/app/Dockerfile
|
dockerfile: docker/app/Dockerfile
|
||||||
command: php artisan reverb:start --host=0.0.0.0 --port=8081
|
command: php artisan reverb:start --host=0.0.0.0 --port=8081
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8081:8081"
|
- "8081:8081"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/var/www/html
|
- .:/var/www/html
|
||||||
- app_storage:/var/www/html/storage/app
|
- app_storage:/var/www/html/storage/app
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue