From e661955756ad1744e212253ee2e52eaf2b884cd3 Mon Sep 17 00:00:00 2001 From: AmirHossein Mahmoodi Date: Mon, 11 Aug 2025 11:25:21 +0330 Subject: [PATCH] change docker compose --- docker-compose.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7f34faf..8db2d99 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,12 +6,8 @@ services: context: . dockerfile: Dockerfile container_name: nextjs-app - environment: - - NEXT_PUBLIC_VERSION=${NEXT_PUBLIC_VERSION} - - NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL} - - NEXT_PUBLIC_SERVER_SOCKET_URL=${NEXT_PUBLIC_SERVER_SOCKET_URL} ports: - "3000:3000" env_file: - - .env.local + - .env restart: unless-stopped \ No newline at end of file