removed local db
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
FLASK_APP=project/__init__.py
|
FLASK_APP=project/__init__.py
|
||||||
FLASK_DEBUG=1
|
FLASK_DEBUG=1
|
||||||
DATABASE_URL=postgresql://hello_flask:hello_flask@db:5432/hello_flask_dev
|
DATABASE_URL=postgresql://merms_panel:merms_panel@10.20.30.60:5432/merms_panel
|
||||||
SQL_HOST=db
|
SQL_HOST=10.20.30.60
|
||||||
SQL_PORT=5432
|
SQL_PORT=5432
|
||||||
DATABASE=postgres
|
DATABASE=postgres
|
||||||
APP_FOLDER=/usr/src/app
|
APP_FOLDER=/usr/src/app
|
||||||
@@ -5,3 +5,13 @@ SQL_HOST=db
|
|||||||
SQL_PORT=5432
|
SQL_PORT=5432
|
||||||
DATABASE=postgres
|
DATABASE=postgres
|
||||||
APP_FOLDER=/usr/src/app
|
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
@@ -10,16 +10,16 @@ services:
|
|||||||
- 5001:5000
|
- 5001:5000
|
||||||
env_file:
|
env_file:
|
||||||
- ./.env.dev
|
- ./.env.dev
|
||||||
depends_on:
|
# depends_on:
|
||||||
- db
|
# - db
|
||||||
db:
|
# db:
|
||||||
image: postgres:13
|
# image: postgres:13
|
||||||
volumes:
|
# volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data/
|
# - postgres_data:/var/lib/postgresql/data/
|
||||||
environment:
|
# environment:
|
||||||
- POSTGRES_USER=hello_flask
|
# - POSTGRES_USER=hello_flask
|
||||||
- POSTGRES_PASSWORD=hello_flask
|
# - POSTGRES_PASSWORD=hello_flask
|
||||||
- POSTGRES_DB=hello_flask_dev
|
# - POSTGRES_DB=hello_flask_dev
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
Reference in New Issue
Block a user