removed local db

This commit is contained in:
CHIEFSOFT\ameye
2024-12-06 09:36:28 -05:00
parent caf35daf51
commit 80b38287b3
3 changed files with 22 additions and 12 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
FLASK_APP=project/__init__.py
FLASK_DEBUG=1
DATABASE_URL=postgresql://hello_flask:hello_flask@db:5432/hello_flask_dev
SQL_HOST=db
DATABASE_URL=postgresql://merms_panel:merms_panel@10.20.30.60:5432/merms_panel
SQL_HOST=10.20.30.60
SQL_PORT=5432
DATABASE=postgres
APP_FOLDER=/usr/src/app
+10
View File
@@ -5,3 +5,13 @@ SQL_HOST=db
SQL_PORT=5432
DATABASE=postgres
APP_FOLDER=/usr/src/app
FLASK_APP=project/__init__.py
FLASK_DEBUG=1
DATABASE_URL=postgresql://hello_flask:hello_flask@db:5432/hello_flask_dev
SQL_HOST=db
SQL_PORT=5432
DATABASE=postgres
APP_FOLDER=/usr/src/app
+10 -10
View File
@@ -10,16 +10,16 @@ services:
- 5001:5000
env_file:
- ./.env.dev
depends_on:
- db
db:
image: postgres:13
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=hello_flask
- POSTGRES_PASSWORD=hello_flask
- POSTGRES_DB=hello_flask_dev
# depends_on:
# - db
# db:
# image: postgres:13
# volumes:
# - postgres_data:/var/lib/postgresql/data/
# environment:
# - POSTGRES_USER=hello_flask
# - POSTGRES_PASSWORD=hello_flask
# - POSTGRES_DB=hello_flask_dev
volumes:
postgres_data: