Pārlūkot izejas kodu

Merge branch 'lvyin' of https://github.com/alexcdev1/match-vote-nextjs into lvyin

charles_c 5 mēneši atpakaļ
vecāks
revīzija
7fbdd757ac
3 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 1 0
      docker-compose.lvyin.yml
  2. 1 1
      docker-compose.prod.yml
  3. 1 1
      src/app/page.js

+ 1 - 0
docker-compose.lvyin.yml

@@ -44,4 +44,5 @@ volumes:
 
 
 networks:
 networks:
   default:
   default:
+    external: true
     name: match-vote-network-lvyin
     name: match-vote-network-lvyin

+ 1 - 1
docker-compose.prod.yml

@@ -27,7 +27,7 @@ services:
     container_name: match-vote-nextjs-nginx-1
     container_name: match-vote-nextjs-nginx-1
     image: nginx:alpine
     image: nginx:alpine
     ports:
     ports:
-      - "8081:80"
+      - "8080:80"
 
 
     volumes:
     volumes:
       - ./nginx:/etc/nginx/conf.d
       - ./nginx:/etc/nginx/conf.d

+ 1 - 1
src/app/page.js

@@ -82,7 +82,7 @@ export default function Home() {
                 className="bg-blue-500 text-white hover:bg-blue-600 px-4 py-1 rounded-full text-sm font-bold transition duration-300"
                 className="bg-blue-500 text-white hover:bg-blue-600 px-4 py-1 rounded-full text-sm font-bold transition duration-300"
                 onClick={() => router.push("/login")}
                 onClick={() => router.push("/login")}
               >
               >
-                登录
+                登录111
               </button>
               </button>
             )}
             )}
           </div>
           </div>