Skip to content

Commit 64a7146

Browse files
committed
Improve testing data
1 parent 3fccbb2 commit 64a7146

File tree

3 files changed

+24
-9
lines changed

3 files changed

+24
-9
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ gradle-app.setting
55
!gradle-wrapper.jar
66
.gradletasknamecache
77
run/
8+
!/run/plugins/FastAsyncWorldEdit/
Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1-
version: '3.7'
1+
# docker compose up -d
22
services:
3-
keydb:
4-
image: eqalpha/keydb
3+
postgres:
4+
image: postgres
5+
container_name: 'pandoras_cluster_postgresql'
56
ports:
6-
- "6379:6379"
7+
- 5432:5432
8+
shm_size: 128mb
9+
volumes:
10+
- ./postgresql/data/:/var/lib/postgresql
11+
environment:
12+
POSTGRES_PASSWORD: pandoras_cluster
13+
POSTGRES_USER: pandoras_cluster
14+
POSTGRES_DB: pandoras_cluster
15+
networks:
16+
- pandoras_cluster_postgresql_go_net
17+
18+
networks:
19+
pandoras_cluster_postgresql_go_net:
20+
driver: bridge

src/main/resources/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ staff:
3535
tasks:
3636
show-border-multiplier: 1
3737
database:
38-
jdbcUrl: 'jdbc:mariadb://localhost:3306/pandorascluster?useSSL=false'
39-
username: 'pandorascluster'
40-
password: 'CoTayoC4wIbu'
41-
driver: 'org.mariadb.jdbc.Driver'
42-
dialect: 'org.hibernate.dialect.MariaDBDialect'
38+
jdbcUrl: 'jdbc:postgresql://localhost:5432/pandoras_cluster'
39+
username: 'pandoras_cluster'
40+
password: 'pandoras_cluster'
41+
driver: 'org.postgresql.Driver'
42+
dialect: 'org.hibernate.dialect.PostgreSQLDialect'

0 commit comments

Comments
 (0)