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