From 3c2714a841f7f2d20558c9bfb767eed6da447f8f Mon Sep 17 00:00:00 2001 From: dx-tan Date: Wed, 3 Jan 2024 14:35:22 +0700 Subject: [PATCH] Add: sample env --- .env_sample | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .env_sample diff --git a/.env_sample b/.env_sample new file mode 100644 index 0000000..0edcda4 --- /dev/null +++ b/.env_sample @@ -0,0 +1,41 @@ +MEDIA_ROOT=/app/media +# DATABASE django setup +DB_ENGINE=django.db.backends.postgresql_psycopg2 +DB_SCHEMA=sbt_dev +DB_USER=postgres +DB_PASSWORD=extraordinary +DB_HOST=db-sbt +DB_PUBLIC_PORT=5432 +DB_INTERNAL_PORT=5432 + +DEBUG=TRUE +CORS_ALLOWED_ORIGINS=* +CTEL_KEY=secret +DB_INTERNAL_KEY=secret +ALLOWED_HOSTS='*' +BROKER_URL=amqp://test:test@rabbitmq-manulife-sbt:5672 +BASE_URL=http://be-ctel-sbt:9000 +BASE_UI_URL=http://fe-sbt:9801 +HOST_MEDIA_FOLDER=./media +GID=1000 +UID=198 +SECRET_KEY=secret +RABBITMQ_DEFAULT_USER=test +RABBITMQ_DEFAULT_PASS=test +BASE_PORT=9000 +S3_ENDPOINT=minio +S3_ACCESS_KEY=sample-key +S3_SECRET_KEY=sample-key +S3_BUCKET_NAME=sample-key + +AUTH_TOKEN_LIFE_TIME=168 +IMAGE_TOKEN_LIFE_TIME=168 +INTERNAL_SDS_KEY=sample-key +FI_USER_NAME=sbt +FI_PASSWORD=abc + +# Front end env variables +# VITE_PORT=80 +# VITE_PROXY=http://0.0.0.0 +# VITE_API_BASE_URL=http://0.0.0.0:8000 +# PORT=8002 \ No newline at end of file