-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] ENV ระบบใช้ Spring Cloud Config Server
- Loading branch information
1 parent
b37ed46
commit cd2a813
Showing
14 changed files
with
137 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ spring: | |
# mongodb: | ||
## host: ${mongodb_host:localhost} | ||
## port: 27017 | ||
# uri: mongodb+srv://meetuAdmin:[email protected]/test?retryWrites=true&w=majority | ||
# uri: | ||
# authentication-database: admin | ||
# database: meetu | ||
## username: meetuAdmin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FROM openjdk:8u181-jdk-alpine3.8 | ||
|
||
FROM openjdk:alpine | ||
WORKDIR /app | ||
ENV spring.profiles.active=production | ||
ADD target/userservice-0.0.1-Demo.jar . | ||
ADD meetu-firebase-key.json . | ||
EXPOSE 3001:3001 | ||
|
||
CMD ["java" "-jar" "userservice-0.0.1-Demo.jar"] | ||
CMD [ "java", "-jar","userservice-0.0.1-Demo.jar" ] | ||
|
||
|
||
|
||
# FROM maven:3.6.0-jdk-8-alpine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
mvn clean package &&docker build -t linxianer12/userservice . && docker push linxianer12/userservice | ||
mvn clean package && docker build -t linxianer12/userservice:latest . && docker push linxianer12/userservice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,10 +7,10 @@ spring: | |
active: dev | ||
# data: | ||
# mongodb: | ||
# uri: mongodb+srv://meetuAdmin:[email protected]/test?retryWrites=true&w=majority | ||
# uri: | ||
# authentication-database: admin | ||
# database: meetu | ||
# host: 13.229.138.243 | ||
# host: localhost | ||
# port: 27017 | ||
# authentication-database: admin | ||
# database: meetu | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
USER_SERVICE=http://localhost:4000/userservice | ||
EVENT_SERVICE=http://localhost:4000/eventservice | ||
//USER_SERVICE=https://www.meetu-milktea.tk:4000/userservice | ||
//EVENT_SERVICE=https://www.meetu-milktea.tk:4000/eventservice | ||
//COMMUNITY_SERVICE=https://www.meetu-milktea.tk:4000/communityservice | ||
|
||
//USER_SERVICE=http://localhost:3001 | ||
//EVENT_SERVICE=http://localhost:3002 | ||
USER_SERVICE=http://localhost:4000/userservice | ||
EVENT_SERVICE=http://localhost:4000/eventservice | ||
//COMMUNITY_SERVICE=http://localhost:3002 |
228 changes: 114 additions & 114 deletions
228
nuxt-firebase-auth-master/.firebase/hosting.ZGlzdA.cache
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1 @@ | ||
importScripts('https://cdn.jsdelivr.net/npm/[email protected]/workbox/workbox-sw.js') | ||
|
||
// -------------------------------------------------- | ||
// Configure | ||
// -------------------------------------------------- | ||
|
||
// Set workbox config | ||
workbox.setConfig({ | ||
"debug": false | ||
}) | ||
|
||
// Start controlling any existing clients as soon as it activates | ||
workbox.core.clientsClaim() | ||
|
||
// Skip over the SW waiting lifecycle stage | ||
workbox.core.skipWaiting() | ||
|
||
workbox.precaching.cleanupOutdatedCaches() | ||
|
||
// -------------------------------------------------- | ||
// Precaches | ||
// -------------------------------------------------- | ||
|
||
// Precache assets | ||
|
||
// -------------------------------------------------- | ||
// Runtime Caching | ||
// -------------------------------------------------- | ||
|
||
// Register route handlers for runtimeCaching | ||
workbox.routing.registerRoute(new RegExp('/_nuxt/'), new workbox.strategies.CacheFirst ({}), 'GET') | ||
workbox.routing.registerRoute(new RegExp('/'), new workbox.strategies.NetworkFirst ({}), 'GET') | ||
// THIS FILE SHOULD NOT BE VERSION CONTROLLED |