office core
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
# Environment Variables
|
||||||
|
BASIC_AUTH_USERNAME=user
|
||||||
|
BASIC_AUTH_PASSWORD=password
|
||||||
|
SWAGGER_URL="/documentation"
|
||||||
|
API_URL="/swagger.json"
|
||||||
|
|
||||||
|
|
||||||
|
# Flask Configuration
|
||||||
|
FLASK_APP=wsgi.py
|
||||||
|
FLASK_ENV=development
|
||||||
|
APP_PORT=4700
|
||||||
|
|
||||||
|
#Database Configuration
|
||||||
|
DATABASE_USER=firstadvance
|
||||||
|
DATABASE_PASSWORD=FirstAdvance!
|
||||||
|
DATABASE_HOST=10.20.30.60
|
||||||
|
DATABASE_PORT=5432
|
||||||
|
DATABASE_NAME=firstadvancedev
|
||||||
|
SQLALCHEMY_DATABASE_URI_FULL="oracle+oracledb://FIRSTADVSTG:Pchanged_56789@10.2.110.30:1521/?service_name=firstadv"
|
||||||
|
|
||||||
|
|
||||||
|
#Events if Needed
|
||||||
|
KAFKA_TIMEOUT=45000.0
|
||||||
|
KAFKA_BROKER="10.20.30.50:9092"
|
||||||
@@ -40,6 +40,22 @@ services:
|
|||||||
- digifi-net
|
- digifi-net
|
||||||
# - ipv4_address: 10.244.0.20
|
# - ipv4_address: 10.244.0.20
|
||||||
|
|
||||||
|
digifi-office:
|
||||||
|
image: "registry.simbrellang.net/digifi/firstcore:latest"
|
||||||
|
#build: .
|
||||||
|
env_file:
|
||||||
|
- .env.office
|
||||||
|
ports:
|
||||||
|
- "${APP_PORT:-4700}:5000"
|
||||||
|
environment:
|
||||||
|
- FLASK_APP=${FLASK_APP}
|
||||||
|
- FLASK_ENV=${FLASK_ENV}
|
||||||
|
extra_hosts:
|
||||||
|
- first-advance-middleware-develop.fbn-devops-dev-asenv.appserviceenvironment.net:10.230.42.11
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- digifi-net
|
||||||
|
-
|
||||||
|
|
||||||
swagger:
|
swagger:
|
||||||
image: swaggerapi/swagger-ui:v5.1.0
|
image: swaggerapi/swagger-ui:v5.1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user