From eb05ec9b3167bbc5620fd383b72abe548dcbd235 Mon Sep 17 00:00:00 2001 From: theRADcozaDEV Date: Sun, 15 Mar 2026 11:41:54 +0200 Subject: [PATCH] fix: Remove hardcoded container_name and obsolete version to allow multiple deployments --- docker-compose.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 605ac55..6efa557 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,3 @@ -version: '3.8' services: # PHP-FPM Application Server @@ -6,7 +5,6 @@ services: build: context: . dockerfile: docker/php/Dockerfile - container_name: laravel_app restart: unless-stopped working_dir: /var/www/html volumes: @@ -21,7 +19,6 @@ services: # Nginx Web Server nginx: image: nginx:alpine - container_name: laravel_nginx restart: unless-stopped ports: - "${APP_PORT:-8080}:80" @@ -43,7 +40,6 @@ services: # MySQL Database mysql: image: mysql:8.0 - container_name: laravel_mysql restart: unless-stopped ports: - "${DB_PORT:-3306}:3306" @@ -63,7 +59,6 @@ services: # PostgreSQL Database pgsql: image: postgres:16-alpine - container_name: laravel_pgsql restart: unless-stopped ports: - "${DB_PORT:-5432}:5432" @@ -83,7 +78,6 @@ services: # This is a dummy service to enable the sqlite profile sqlite: image: alpine:latest - container_name: laravel_sqlite_init volumes: - ./src/database:/data command: sh -c "touch /data/database.sqlite && chmod 666 /data/database.sqlite" @@ -93,7 +87,6 @@ services: # Redis Cache redis: image: redis:alpine - container_name: laravel_redis restart: unless-stopped ports: - "${REDIS_PORT:-6379}:6379" @@ -105,7 +98,6 @@ services: # Node.js for frontend assets (Vite/Mix) node: image: node:20-alpine - container_name: laravel_node working_dir: /var/www/html volumes: - ./src:/var/www/html @@ -120,7 +112,6 @@ services: build: context: . dockerfile: docker/php/Dockerfile - container_name: laravel_queue restart: unless-stopped working_dir: /var/www/html volumes: @@ -140,7 +131,6 @@ services: build: context: . dockerfile: docker/php/Dockerfile - container_name: laravel_scheduler restart: unless-stopped working_dir: /var/www/html volumes: @@ -156,7 +146,6 @@ services: # Mailpit for local email testing mailpit: image: axllent/mailpit - container_name: laravel_mailpit restart: unless-stopped ports: - "${MAIL_PORT:-1025}:1025"