Merge remote-tracking branch 'origin/station' into station
This commit is contained in:
commit
d8ec995ecf
|
@ -6,9 +6,15 @@ services:
|
||||||
context: ./jeecg-cloud-nacos
|
context: ./jeecg-cloud-nacos
|
||||||
ports:
|
ports:
|
||||||
- 8848:8848
|
- 8848:8848
|
||||||
|
environment:
|
||||||
|
- SERVER_PORT=8848
|
||||||
|
- DB_URL=jdbc:postgresql://182.92.183.230:5432/nacos
|
||||||
|
- DB_USER=temp
|
||||||
|
- DB_PASSWORD=123456
|
||||||
|
- DB_PLATFORM=postgresql
|
||||||
container_name: jeecg-boot-nacos
|
container_name: jeecg-boot-nacos
|
||||||
hostname: jeecg-boot-nacos
|
hostname: jeecg-boot-nacos
|
||||||
|
|
||||||
jeecg-boot-system:
|
jeecg-boot-system:
|
||||||
depends_on:
|
depends_on:
|
||||||
- jeecg-boot-nacos
|
- jeecg-boot-nacos
|
||||||
|
@ -20,16 +26,16 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
|
|
||||||
jeecg-boot-demo:
|
# jeecg-boot-demo:
|
||||||
depends_on:
|
# depends_on:
|
||||||
- jeecg-boot-nacos
|
# - jeecg-boot-nacos
|
||||||
build:
|
# build:
|
||||||
context: ./jeecg-demo-cloud-start
|
# context: ./jeecg-demo-cloud-start
|
||||||
container_name: jeecg-demo-start
|
# container_name: jeecg-demo-start
|
||||||
hostname: jeecg-boot-demo
|
# hostname: jeecg-boot-demo
|
||||||
restart: on-failure
|
# restart: on-failure
|
||||||
environment:
|
# environment:
|
||||||
- TZ=Asia/Shanghai
|
# - TZ=Asia/Shanghai
|
||||||
|
|
||||||
jeecg-boot-gateway:
|
jeecg-boot-gateway:
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
FROM anapsix/alpine-java:8_server-jre_unlimited
|
#FROM anapsix/alpine-java:8_server-jre_unlimited
|
||||||
|
FROM openjdk:8
|
||||||
|
|
||||||
MAINTAINER jeecgos@163.com
|
MAINTAINER jeecgos@163.com
|
||||||
|
|
||||||
|
@ -10,6 +11,15 @@ WORKDIR /jeecg-cloud-nacos
|
||||||
|
|
||||||
EXPOSE 8848
|
EXPOSE 8848
|
||||||
|
|
||||||
|
|
||||||
|
ENV DB_URL=""
|
||||||
|
ENV DB_USER=""
|
||||||
|
ENV DB_PASSWORD=""
|
||||||
|
ENV DB_PLATFORM=""
|
||||||
|
ENV SERVER_PORT=""
|
||||||
|
|
||||||
|
EXPOSE $SERVER_PORT
|
||||||
|
|
||||||
ADD ./target/jeecg-cloud-nacos-3.5.1.jar ./
|
ADD ./target/jeecg-cloud-nacos-3.5.1.jar ./
|
||||||
|
|
||||||
CMD sleep 1;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-nacos-3.5.1.jar
|
CMD sleep 5;java -DSERVER_PORT=$SERVER_PORT -DDB_URL=$DB_URL -DDB_USER=$DB_USER -DDB_PASSWORD=$DB_PASSWORD -DDB_PLATFORM=$DB_PLATFORM -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-nacos-3.5.1.jar
|
|
@ -74,10 +74,15 @@
|
||||||
<version>42.2.25</version>
|
<version>42.2.25</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- pgsql 数据源插件,nacos2.1之后才支持 -->
|
<!-- pgsql 数据源插件,nacos2.1之后才支持 -->
|
||||||
|
<!-- <dependency>-->
|
||||||
|
<!-- <groupId>com.alibaba.nacos</groupId>-->
|
||||||
|
<!-- <artifactId>nacos-postgresql-datasource-plugin-ext</artifactId>-->
|
||||||
|
<!-- <version>1.0.0-SNAPSHOT</version>-->
|
||||||
|
<!-- </dependency>-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba.nacos</groupId>
|
<groupId>com.pig4cloud.plugin</groupId>
|
||||||
<artifactId>nacos-postgresql-datasource-plugin-ext</artifactId>
|
<artifactId>nacos-datasource-plugin-pg</artifactId>
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
<version>0.0.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user