Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
instance-setup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Eclipse Projects
autowrx
instance-setup
Commits
85f918a7
Commit
85f918a7
authored
1 month ago
by
Tuan Hoang Dinh Anh
Browse files
Options
Downloads
Patches
Plain Diff
more clear description for .env.examle and fix some problems of docker-compose
parent
af38ebab
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.env.example
+25
-28
25 additions, 28 deletions
.env.example
README.md
+1
-1
1 addition, 1 deletion
README.md
docker-compose.yml
+3
-3
3 additions, 3 deletions
docker-compose.yml
with
29 additions
and
32 deletions
.env.example
+
25
−
28
View file @
85f918a7
# Env name
ENV=dev
# Main port of frontend
# Required - Main port of frontend
CLIENT_PORT=3000
# Main port of backend
#
Required -
Main port of backend
- Proxy port
KONG_PROXY_PORT=9800
#
Frontend URL
CLIENT_BASE_URL=http://localhost:300
0
#
Required - Internal port of backend
PORT=808
0
# Port number
MONGO_EXPOSE_PORT=27019
KONG_ADMIN_PORT=9851
# Required - Frontend URL
CLIENT_BASE_URL=http://localhost:3000
# Required - Backend URL
BACKEND_BASE_URL=http://localhost:9800
#
URL of the
Mongo
DB
#
Required -
Mongo
URL
MONGODB_URL=mongodb://playground-db:27017/playground-be
# Required - Internal port of upload
UPLOAD_PORT=9810
# Volume path to store uploaded files
#
Required -
Volume path to store uploaded files
UPLOAD_PATH=/opt/data/playground/upload
#
Upload domain
UPLOAD_DOMAIN=http://
your_backend_domain
/v2/file/
#
Required - Domain for uploaded files service
UPLOAD_DOMAIN=http://
localhost:9800
/v2/file/
# JWT secret key
JWT_SECRET=your_very_secure_secret_key
# Required - JWT secret key
JWT_SECRET=your-very-secure-secret-key
# Required - Access token expiration times
JWT_ACCESS_EXPIRATION_MINUTES=1440
# Required - Refresh token expiration times
JWT_REFRESH_EXPIRATION_DAYS=30
# Required - Reset password token expiration times
JWT_RESET_PASSWORD_EXPIRATION_MINUTES=10
# Required - Verify email token expiration times
JWT_VERIFY_EMAIL_EXPIRATION_MINUTES=10
#
Cookie settings
#
Required - Cookie name for refresh token
JWT_COOKIE_NAME=playground-token
JWT_COOKIE_DOMAIN=.
# Required - Cookie domain for refresh token
JWT_COOKIE_DOMAIN=localhost
# Optional - Cache base URL for storing recently used prototypes
CACHE_BASE_URL=https://cache.digitalauto.tech
LOG_BASE_URL=https://logs.digitalauto.tech
BREVO_API_KEY=your_brevo_api_key
BREVO_BASE_URL=https://api.brevo.com/v3
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
# Certivity
CERTIVITY_CLIENT_ID=your_certivity_client_id
CERTIVITY_CLIENT_SECRET=your_certivity_client_secret
\ No newline at end of file
# Optional - Log base URL for logging
LOG_BASE_URL=https://logs.digitalauto.tech
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
85f918a7
...
...
@@ -13,7 +13,7 @@ All services run entirely within Docker containers.

##
Install
ation
##
Running the applic
ation
### Using Docker
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
3
−
3
View file @
85f918a7
services
:
playground-fe
:
container_name
:
playground-fe
image
:
boschvn/playground-fe
image
:
boschvn/playground-fe
:latest
ports
:
-
"
${CLIENT_PORT:-3000}:80"
volumes
:
...
...
@@ -32,7 +32,7 @@ services:
playground-be
:
platform
:
linux/amd64
container_name
:
playground-be
image
:
boschvn/playground-be:
fdc937c
image
:
boschvn/playground-be:
latest
env_file
:
-
.env
depends_on
:
...
...
@@ -55,7 +55,7 @@ services:
upload
:
platform
:
linux/amd64
container_name
:
playground-upload
image
:
boschvn/upload:
1b88570
image
:
boschvn/upload:
latest
env_file
:
-
.env
volumes
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment