Browse Source

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

charles_c 5 months ago
parent
commit
7fbdd757ac
3 changed files with 3 additions and 2 deletions
  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:
   default:
+    external: true
     name: match-vote-network-lvyin

+ 1 - 1
docker-compose.prod.yml

@@ -27,7 +27,7 @@ services:
     container_name: match-vote-nextjs-nginx-1
     image: nginx:alpine
     ports:
-      - "8081:80"
+      - "8080:80"
 
     volumes:
       - ./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"
                 onClick={() => router.push("/login")}
               >
-                登录
+                登录111
               </button>
             )}
           </div>