done
This commit is contained in:
parent
1e9422f836
commit
a5a70e3113
4
app.py
4
app.py
|
|
@ -5,12 +5,12 @@ try:
|
|||
dbname="kolchin",
|
||||
user="kolchin",
|
||||
password="postgres",
|
||||
host="pg",
|
||||
host="postgres_new",
|
||||
port="5432"
|
||||
)
|
||||
except:
|
||||
print('Can`t establish connection to database')
|
||||
#print(conn)
|
||||
|
||||
|
||||
cursor = conn.cursor()
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ volumes:
|
|||
pg-data:
|
||||
networks:
|
||||
pg-net:
|
||||
#driver: bridge
|
||||
driver: bridge
|
||||
#ipam:
|
||||
# config:
|
||||
# - subnet: 192.168.100.0/24
|
||||
|
|
|
|||
Loading…
Reference in New Issue