This commit is contained in:
sanek 2024-12-11 22:09:32 +00:00
parent 1e9422f836
commit a5a70e3113
2 changed files with 3 additions and 3 deletions

4
app.py
View File

@ -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()

View File

@ -53,7 +53,7 @@ volumes:
pg-data:
networks:
pg-net:
#driver: bridge
driver: bridge
#ipam:
# config:
# - subnet: 192.168.100.0/24