From f973019575061d5cc53ce93a520330855ba8dd9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ey=C3=BCp=20Erdo=C4=9Fan?= Date: Sat, 24 Aug 2024 09:12:29 +0300 Subject: [PATCH] Update docker compose config --- docker-compose-dev.yml | 8 +++----- docker-compose.yml | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 171e955..b098f51 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -1,7 +1,5 @@ # Example Dev Environment Setup -version: '3.8' - name: ls_dev services: @@ -20,7 +18,7 @@ services: AUTORUN_LARAVEL_MIGRATION: 'true' SSL_MODE: 'off' networks: - - db_net + - app_net - redis_net command: ['su', 'webuser', '-c', 'php artisan schedule:work'] @@ -38,7 +36,7 @@ services: MYSQL_PASSWORD: ${DB_PASSWORD} MYSQL_ROOT_PASSWORD: ${DB_PASSWORD} networks: - - db_net + - app_net # Redis ls_dev_redis: @@ -61,7 +59,7 @@ services: - 10002:8025 networks: - db_net: + app_net: driver: bridge ipam: driver: default diff --git a/docker-compose.yml b/docker-compose.yml index f90e8a7..73140c6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,5 @@ # Example Prod Environment Setup -version: '3.8' - name: ls_prod services: @@ -22,7 +20,7 @@ services: AUTORUN_LARAVEL_MIGRATION: 'true' SSL_MODE: 'off' networks: - - db_net + - app_net - redis_net command: ['su', 'webuser', '-c', 'php artisan schedule:work'] @@ -40,7 +38,7 @@ services: MYSQL_PASSWORD: ${DB_PASSWORD} MYSQL_ROOT_PASSWORD: ${DB_PASSWORD} networks: - - db_net + - app_net # Redis ls_prod_redis: @@ -54,7 +52,7 @@ services: - redis_net networks: - db_net: + app_net: driver: bridge ipam: driver: default