update samples

This commit is contained in:
InsanusMokrassar 2023-11-02 22:06:48 +06:00
parent 3ae3cabd80
commit 248740f246
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"database": { "database": {
"url": "jdbc:postgresql://127.0.0.1:8091/test", "url": "jdbc:postgresql://postgres:5432/test",
"username": "test", "username": "test",
"password": "test", "password": "test",
"driver": "org.postgresql.Driver" "driver": "org.postgresql.Driver"

View File

@ -11,8 +11,6 @@ services:
POSTGRES_DB: "test" POSTGRES_DB: "test"
volumes: volumes:
- "./db/:/var/lib/postgresql/data" - "./db/:/var/lib/postgresql/data"
ports:
- "127.0.0.1:8091:5432"
plaguposter: plaguposter:
image: insanusmokrassar/plaguposter:latest image: insanusmokrassar/plaguposter:latest
container_name: "plaguposter" container_name: "plaguposter"
@ -21,3 +19,5 @@ services:
- "./config.json:/config.json" - "./config.json:/config.json"
depends_on: depends_on:
- "plaguposter_postgres" - "plaguposter_postgres"
links:
- "plaguposter_postgres:postgres"