[DEV] some corrections
This commit is contained in:
parent
7fd75ddcac
commit
d0c6c07833
@ -4,4 +4,4 @@ import psycopg2
|
||||
|
||||
debug.info("connect BDD: ")
|
||||
|
||||
conn = psycopg2.connect(dbname="karideo", user="postgres", password="postgres", host="localhost", port="43522")
|
||||
conn = psycopg2.connect(dbname="karideo", user="postgres", password="postgres", host="localhost", port="15032")
|
||||
|
@ -1,14 +1,21 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
karideo_postgres:
|
||||
bdd_service:
|
||||
restart: always
|
||||
image: postgres:alpine
|
||||
environment:
|
||||
PGDATA: /var/lib/postgresql/data
|
||||
POSTGRES_DB: karideo
|
||||
#this is for debug only
|
||||
ports:
|
||||
- "43522:5432"
|
||||
- "15032:5432"
|
||||
volumes:
|
||||
- ./data:/var/lib/postgresql/data
|
||||
|
||||
adminer:
|
||||
image: adminer
|
||||
restart: always
|
||||
ports:
|
||||
- 15079:8080
|
||||
links:
|
||||
- bdd_service:bdd
|
||||
|
Loading…
Reference in New Issue
Block a user