fix: Add gateway network to nginx for NPM connectivity on restart
This commit is contained in:
@@ -27,6 +27,7 @@ services:
|
|||||||
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||||
networks:
|
networks:
|
||||||
- laravel_network
|
- laravel_network
|
||||||
|
- gateway
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
@@ -156,6 +157,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
laravel_network:
|
laravel_network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
gateway:
|
||||||
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mysql_data:
|
mysql_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user