From a9bb6df711ec8d0e00e98aa11d29e72420dda404 Mon Sep 17 00:00:00 2001 From: Felix Date: Thu, 19 May 2022 14:46:30 -0300 Subject: [PATCH] arreglos del docker-compose.yml referentes al deploy en prod --- docker-compose.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index def04d6..9767d4b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: context: ./ dockerfile: Dockerfile image: laravel-image - container_name: laravel-app + container_name: pedi2-app restart: unless-stopped working_dir: /var/www/ volumes: @@ -19,10 +19,8 @@ services: db: image: mysql:5.7 - container_name: laravel-db + container_name: pedi2-db restart: unless-stopped - ports: - - "3306:3306" environment: MYSQL_DATABASE: ${DB_DATABASE} MYSQL_ROOT_PASSWORD: ${DB_PASSWORD} @@ -39,7 +37,7 @@ services: nginx: image: nginx:alpine - container_name: laravel-nginx + container_name: pedi2-nginx restart: unless-stopped ports: - ${NGINX_PORT}:80 @@ -56,4 +54,4 @@ networks: #Volumes volumes: dbdata: - driver: local \ No newline at end of file + driver: local