generated from azmisahin/azmisahin-software-repository-template-docker-v2
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
74 lines (65 loc) · 2.12 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# This is a sample .env file for use in local development.
# When the new images are built, have your continuous deployment system deploy them to a staging environment.
# Product environment
# If you want to run it in a test environment, you should use the "test" tag.
# For Alpine Linux:
# APP_ENV="test"
APP_ENV="development"
# A unique name for your app
APP_NAME="web_package_template"
# Docker Compose use environment variable
# 🐛: devcontainer does not take the project name from the existing .env file.
COMPOSE_PROJECT_NAME="web_package_template_development"
# build
# If you need modifications, you can use an Alpine-based image.
# Set the distribution identifier and base image accordingly.
# For Alpine Linux:
# DISTRIB_ID="alpine"
# BASE_IMAGE="alpine:latest"
#
# For Debian-based systems:
DISTRIB_ID="debian"
BASE_IMAGE="python:3.11.1-slim"
# Physical or other resource addresses where you want the application to run
WORKSPACE_FOLDER="/workspaces"
PROJECT_FOLDER="/workspaces/template"
DATA_FOLDER="/data"
# DEPLOY
# You can perform performance testing by selecting lower resources in test environments.
# For "test":
# RESOURCE_CPUS="0.5"
# RESOURCE_GPUS="1"
# RESOURCE_MEMORY="4GiB"
RESOURCE_CPUS="0.5"
RESOURCE_GPUS="1"
RESOURCE_MEMORY="4GiB"
SCALE="1"
# SERVER
# If you are going to define a broadcast address.
HOST_IP="0.0.0.0"
# If you need an output port.
# Service Name and Transport Protocol Port Number Registry
# development
HTTP_PORT="8280"
HTTPS_PORT="8480"
TCP_PORT="3022"
SOCKET_PORT="5012"
HTTP_PORT_RANGE="8280-8290"
HTTPS_PORT_RANGE="8480-8490"
TCP_PORT_RANGE="3022-3032"
SOCKET_PORT_RANGE="5012-5022"
# SWICHS
# In development, test, and production environments,
# you should monitor transaction logs
# and use environment change switches to turn them on or off.
# In this way, you can make a quick review.
SWICH_TRACKING_TRACE="false"
SWICH_TRACKING_DEBUG="true"
SWICH_TRACKING_INFO="true"
SWICH_TRACKING_WARN="false"
SWICH_TRACKING_ERROR="true"
SWICH_TRACKING_VERBOSE="false"
SWICH_TRACKING_REPORT="false"
# Application
# Defines a specific environment for your application.
PYTHONPATH="/workspaces/template"