Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deploy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Odysseus
deploy
Commits
4d94f89f
Commit
4d94f89f
authored
Jun 22, 2024
by
brent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add aon-app-server compose
parent
704a0984
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
121 additions
and
1 deletion
+121
-1
.DS_Store
.DS_Store
+0
-0
.gitignore
.gitignore
+5
-1
.DS_Store
conf/.DS_Store
+0
-0
.DS_Store
conf/admin-backend/.DS_Store
+0
-0
app.conf
conf/aon-app-server/conf/app.conf
+23
-0
mongo.conf
conf/aon-app-server/conf/mongo.conf
+20
-0
mysql.conf
conf/aon-app-server/conf/mysql.conf
+20
-0
docker-compose-aon-app-server.yml
docker-compose-aon-app-server.yml
+53
-0
No files found.
.DS_Store
View file @
4d94f89f
No preview for this file type
.gitignore
View file @
4d94f89f
...
@@ -4,3 +4,7 @@ out
...
@@ -4,3 +4,7 @@ out
gen
gen
.history
.history
.vscode
.vscode
.DS_Store
conf/.DS_Store
conf/admin-backend/.DS_Store
data/.DS_Store
\ No newline at end of file
conf/.DS_Store
View file @
4d94f89f
No preview for this file type
conf/admin-backend/.DS_Store
View file @
4d94f89f
No preview for this file type
conf/aon-app-server/conf/app.conf
0 → 100644
View file @
4d94f89f
appname
=
aon_app_server
httpport
=
8088
runmode
=
prod
copyrequestbody
=
true
[
dev
]
apikey
=
"Rbhpcp0FKNrYNA1nZkrwrIbD0YSSRlVG"
taskUrl
=
"https://api.aonet.ai/api/v1"
imageUrl
=
"https://tmp-file.aigic.ai/api/v1/upload/persistence"
[
test
]
apikey
=
"Rbhpcp0FKNrYNA1nZkrwrIbD0YSSRlVG"
taskUrl
=
"https://api.aonet.ai/api/v1"
imageUrl
=
"https://tmp-file.aigic.ai/api/v1/upload/persistence"
[
prod
]
apikey
=
"Rbhpcp0FKNrYNA1nZkrwrIbD0YSSRlVG"
taskUrl
=
"https://api.aonet.ai/api/v1"
imageUrl
=
"https://tmp-file.aigic.ai/api/v1/upload/persistence"
include
"mysql.conf"
include
"mongo.conf"
\ No newline at end of file
conf/aon-app-server/conf/mongo.conf
0 → 100644
View file @
4d94f89f
[
dev
]
mongo
.
user
=
"aon_demo"
mongo
.
pass
=
"7Aj2Cke7RYbAzpsy"
mongo
.
host
=
"127.0.0.1"
mongo
.
port
=
27017
mongo
.
db
=
"aon_demo"
[
test
]
mongo
.
user
=
"aon_demo"
mongo
.
pass
=
"7Aj2Cke7RYbAzpsy"
mongo
.
host
=
"18.167.203.17"
mongo
.
port
=
27017
mongo
.
db
=
"aon_demo"
[
prod
]
mongo
.
user
=
"aon_demo"
mongo
.
pass
=
"7Aj2Cke7RYbAzpsy"
mongo
.
host
=
"aon-app-server-db"
mongo
.
port
=
27017
mongo
.
db
=
"aon_demo"
\ No newline at end of file
conf/aon-app-server/conf/mysql.conf
0 → 100644
View file @
4d94f89f
[
dev
]
mysql
.
user
=
"aon_demo"
mysql
.
pass
=
"7Aj2Cke7RYbAzpsy"
mysql
.
host
=
"18.167.203.17"
mysql
.
port
=
3306
mysql
.
db
=
"aon_demo"
[
test
]
mysql
.
user
=
"aon_demo"
mysql
.
pass
=
"7Aj2Cke7RYbAzpsy"
mysql
.
host
=
"18.167.203.17"
mysql
.
port
=
3306
mysql
.
db
=
"aon_demo"
[
prod
]
mysql
.
user
=
"aon_demo"
mysql
.
pass
=
"7Aj2Cke7RYbAzpsy"
mysql
.
host
=
"18.167.203.17"
mysql
.
port
=
3306
mysql
.
db
=
"aon_demo"
\ No newline at end of file
docker-compose-aon-app-server.yml
0 → 100644
View file @
4d94f89f
version
:
"
3.9"
services
:
aon-app-server-db
:
image
:
mongo:latest
container_name
:
mongodb
ports
:
-
"
27017:27017"
volumes
:
-
mongo-data:/data/db
environment
:
-
MONGO_INITDB_ROOT_USERNAME="aon_demo"
-
MONGO_INITDB_ROOT_PASSWORD="7Aj2Cke7RYbAzpsy"
-
MONGO_INITDB_DATABASE="aon_demo"
healthcheck
:
test
:
[
"
CMD"
,
"
mongo"
,
"
-u"
,
"
$${MONGO_INITDB_ROOT_USERNAME}"
,
"
-p"
,
"
$${MONGO_INITDB_ROOT_PASSWORD}"
,
"
--eval"
,
"
db.adminCommand('ping')"
]
interval
:
30s
timeout
:
10s
retries
:
5
aon-app-server
:
image
:
caduceus/aon-app-server
container_name
:
aon-app-server
entrypoint
:
/usr/bin/aon-app-server
deploy
:
restart_policy
:
condition
:
on-failure
delay
:
1s
max_attempts
:
100
window
:
120s
ports
:
-
"
8088:8088"
depends_on
:
aon-app-server-db
:
condition
:
service_healthy
volumes
:
-
"
/etc/localtime:/etc/localtime"
-
./conf/aon-app-server/conf:/root/conf
networks
:
-
odysseus
command
:
-
"
/bin/sh"
-
"
-c"
-
"
/usr/bin/aon-app-server
-c
/app.conf"
restart
:
unless-stopped
networks
:
odysseus
:
driver
:
bridge
ipam
:
config
:
-
subnet
:
172.100.0.0/16
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment