Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3495104d
authored
Jul 25, 2023
by
chamberone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: remove postgres
1 parent
32188e2e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
77 additions
and
119 deletions
config-init/config/project-account.yaml
config-init/config/project-consumer.yaml
config-init/config/project-provider.yaml
config-init/config/project-storage.yaml
docker-compose/docker-compose.yml
config-init/config/project-account.yaml
deleted
100644 → 0
View file @
32188e2
spring
:
datasource
:
url
:
jdbc:mysql://project-mysql:3306/project_account?useSSL=false&characterEncoding=utf8
\ No newline at end of file
config-init/config/project-consumer.yaml
deleted
100644 → 0
View file @
32188e2
spring
:
datasource
:
url
:
jdbc:mysql://project-mysql:3306/project_praise?useSSL=false&characterEncoding=utf8
cloud
:
stream
:
bindings
:
praise-input
:
destination
:
PRAISE-TOPIC-01
content-type
:
application/json
group
:
praise-consumer-group-PRAISE-TOPIC-01
rocketmq
:
binder
:
name-server
:
rocketmq:9876
bindings
:
praise-input
:
consumer
:
pullInterval
:
4000
pullBatchSize
:
4
\ No newline at end of file
config-init/config/project-provider.yaml
deleted
100644 → 0
View file @
32188e2
spring
:
cloud
:
stream
:
bindings
:
praise-output
:
destination
:
PRAISE-TOPIC-01
content-type
:
application/json
rocketmq
:
binder
:
name-server
:
rocketmq:9876
bindings
:
praise-output
:
producer
:
group
:
test
\ No newline at end of file
config-init/config/project-storage.yaml
deleted
100644 → 0
View file @
32188e2
spring
:
datasource
:
url
:
jdbc:mysql://project-mysql:3306/project_storage?useSSL=false&characterEncoding=utf8
\ No newline at end of file
docker-compose/docker-compose.yml
View file @
3495104
...
...
@@ -26,39 +26,39 @@ services:
entrypoint
:
[
"
./nacos-config-quick.sh"
]
depends_on
:
-
nacos
-
postgres
#
- postgres
-
project-user
#
postgres
postgres
:
image
:
bitnami/postgresql:15.2.0
hostname
:
project-pg
restart
:
always
container_name
:
project-pg
environment
:
#
postgres
#
postgres:
#
image: bitnami/postgresql:15.2.0
#
hostname: project-pg
#
restart: always
#
container_name: project-pg
#
environment:
# - POSTGRESQL_USERNAME=postgres
-
POSTGRESQL_PASSWORD=postgres
ports
:
#
5432端口在win机器上会报错
-
"
8432:5432"
volumes
:
-
../config-init/sql/init.sql:/docker-entrypoint-initdb.d/create_tables.sql
-
/data1/data/postgresql:/bitnami/postgresql
#
postgres web console
pgadmin
:
container_name
:
project-pgadmin
image
:
dpage/pgadmin4
environment
:
POSTGRES_PASSWORD
:
postgres
PGADMIN_DEFAULT_EMAIL
:
pgadmin4@pgadmin.org
#
web密码dituhui
PGADMIN_DEFAULT_PASSWORD
:
admin
PGADMIN_CONFIG_SERVER_MODE
:
'
False'
ports
:
-
"
8050:80"
depends_on
:
-
postgres
#
- POSTGRESQL_PASSWORD=postgres
#
ports:
#
5432端口在win机器上会报错
#
- "8432:5432"
#
volumes:
#
- ../config-init/sql/init.sql:/docker-entrypoint-initdb.d/create_tables.sql
#
- /data1/data/postgresql:/bitnami/postgresql
#
#
postgres web console
#
pgadmin:
#
container_name: project-pgadmin
#
image: dpage/pgadmin4
#
environment:
#
POSTGRES_PASSWORD: postgres
#
PGADMIN_DEFAULT_EMAIL: pgadmin4@pgadmin.org
#
web密码dituhui
#
PGADMIN_DEFAULT_PASSWORD: admin
#
PGADMIN_CONFIG_SERVER_MODE: 'False'
#
ports:
#
- "8050:80"
#
depends_on:
#
- postgres
# kafka
zookeeper
:
...
...
@@ -131,7 +131,7 @@ services:
-
${ORDER_PORT}:${ORDER_PORT}
depends_on
:
-
nacos
-
postgres
#
- postgres
# user module
...
...
@@ -148,55 +148,55 @@ services:
-
${USER_PORT}:${USER_PORT}
depends_on
:
-
nacos
-
postgres
# - postgres
# gis module
project-gis
:
image
:
project-gis
restart
:
always
build
:
dockerfile
:
./project-gis/Dockerfile
context
:
../
env_file
:
-
.env
container_name
:
project-gis
ports
:
-
${GIS_PORT}:${GIS_PORT}
depends_on
:
-
nacos
-
postgres
-
project-geometry
# geometry module
project-geometry
:
image
:
project-geometry
restart
:
always
build
:
dockerfile
:
./project-geometry/Dockerfile
context
:
../
env_file
:
-
.env
container_name
:
project-geometry
ports
:
-
${GEOMETRY_PORT}:${GEOMETRY_PORT}
depends_on
:
-
nacos
# gis module
# project-gis:
# image: project-gis
# restart: always
# build:
# dockerfile: ./project-gis/Dockerfile
# context: ../
# env_file:
# - .env
# container_name: project-gis
# ports:
# - ${GIS_PORT}:${GIS_PORT}
# depends_on:
# - nacos
# - postgres
# - project-geometry
# district module
project-district
:
image
:
project-district
restart
:
always
build
:
dockerfile
:
./project-district/Dockerfile
context
:
../
env_file
:
-
.env
container_name
:
project-district
ports
:
-
${DISTRICT_PORT}:${DISTRICT_PORT}
depends_on
:
-
nacos
# geometry module
# project-geometry:
# image: project-geometry
# restart: always
# build:
# dockerfile: ./project-geometry/Dockerfile
# context: ../
# env_file:
# - .env
# container_name: project-geometry
# ports:
# - ${GEOMETRY_PORT}:${GEOMETRY_PORT}
# depends_on:
# - nacos
#
# district module
# project-district:
# image: project-district
# restart: always
# build:
# dockerfile: ./project-district/Dockerfile
# context: ../
# env_file:
# - .env
# container_name: project-district
# ports:
# - ${DISTRICT_PORT}:${DISTRICT_PORT}
# depends_on:
# - nacos
# dispatch module
project-dispatch
:
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment