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
621b7f15
Commit
621b7f15
authored
Jun 22, 2024
by
brent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compose
parent
4d94f89f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
31 deletions
+13
-31
.DS_Store
.DS_Store
+0
-0
mongo.conf
conf/aon-app-server/conf/mongo.conf
+1
-1
docker-compose-aon-app-server.yml
docker-compose-aon-app-server.yml
+12
-30
No files found.
.DS_Store
View file @
621b7f15
No preview for this file type
conf/aon-app-server/conf/mongo.conf
View file @
621b7f15
...
@@ -15,6 +15,6 @@ mongo.db = "aon_demo"
...
@@ -15,6 +15,6 @@ mongo.db = "aon_demo"
[
prod
]
[
prod
]
mongo
.
user
=
"aon_demo"
mongo
.
user
=
"aon_demo"
mongo
.
pass
=
"7Aj2Cke7RYbAzpsy"
mongo
.
pass
=
"7Aj2Cke7RYbAzpsy"
mongo
.
host
=
"aon-
app-server-
db"
mongo
.
host
=
"aon-
mongo
db"
mongo
.
port
=
27017
mongo
.
port
=
27017
mongo
.
db
=
"aon_demo"
mongo
.
db
=
"aon_demo"
\ No newline at end of file
docker-compose-aon-app-server.yml
View file @
621b7f15
version
:
"
3.9"
version
:
"
3.5"
networks
:
default
:
name
:
aon-app
services
:
services
:
aon-
app-server-
db
:
aon-
mongo
db
:
image
:
mongo:latest
image
:
mongo:latest
container_name
:
mongodb
container_name
:
mongodb
ports
:
ports
:
-
"
27017:27017"
-
"
27017:27017"
volumes
:
volumes
:
-
mongo-data
:/data/db
-
./data/aon-mongodb/db
:/data/db
environment
:
environment
:
-
MONGO_INITDB_ROOT_USERNAME="aon_demo"
-
MONGO_INITDB_ROOT_PASSWORD="7Aj2Cke7RYbAzpsy"
-
MONGO_INITDB_DATABASE="aon_demo"
-
MONGO_INITDB_DATABASE="aon_demo"
healthcheck
:
healthcheck
:
test
:
[
"
CMD"
,
"
mongo"
,
"
-
u"
,
"
$${MONGO_INITDB_ROOT_USERNAME}"
,
"
-p"
,
"
$${MONGO_INITDB_ROOT_PASSWORD}"
,
"
-
-eval"
,
"
db.adminCommand('ping')"
]
test
:
[
"
CMD"
,
"
mongo"
,
"
--eval"
,
"
db.adminCommand('ping')"
]
interval
:
3
0s
interval
:
1
0s
timeout
:
10
s
timeout
:
5
s
retries
:
5
retries
:
5
start_period
:
1s
aon-app-server
:
aon-app-server
:
image
:
caduceus/aon-app-server
image
:
caduceus/aon-app-server
container_name
:
aon-app-server
container_name
:
aon-app-server
entrypoint
:
/usr/bin/aon-app-server
entrypoint
:
/usr/bin/aon-app-server
deploy
:
restart_policy
:
condition
:
on-failure
delay
:
1s
max_attempts
:
100
window
:
120s
ports
:
ports
:
-
"
8088:8088"
-
"
8088:8088"
depends_on
:
depends_on
:
aon-app-server-db
:
-
aon-mongodb
condition
:
service_healthy
volumes
:
volumes
:
-
"
/etc/localtime:/etc/localtime"
-
"
/etc/localtime:/etc/localtime"
-
./conf/aon-app-server/conf:/root/conf
-
./conf/aon-app-server/conf:/root/conf
networks
:
networks
:
-
odysseus
-
default
command
:
\ No newline at end of file
-
"
/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