Skip to content

Commit

Permalink
Add Docker restart policy (#137)
Browse files Browse the repository at this point in the history
* fixed IAM roles and code cleanup

Signed-off-by: pgodithi <[email protected]>

* Fix tests

Signed-off-by: pgodithi <[email protected]>

* Added assume role feature

Signed-off-by: pgodithi <[email protected]>

* Added assume role feature

Signed-off-by: pgodithi <[email protected]>

* Added assume role feature

Signed-off-by: pgodithi <[email protected]>

* Added assume role feature

Signed-off-by: pgodithi <[email protected]>

* Added assume role feature

Signed-off-by: pgodithi <[email protected]>

* Added 2 new plugins

Signed-off-by: pgodithi <[email protected]>

* Add readme doc

Signed-off-by: pgodithi <[email protected]>

* Added docker resources

Signed-off-by: pgodithi <[email protected]>

* Added docker resources

Signed-off-by: pgodithi <[email protected]>

* Bump minor version

Signed-off-by: pgodithi <[email protected]>

* change docker tag to 2.332.3-lts

Signed-off-by: pgodithi <[email protected]>

* added jenkinsOpts

Signed-off-by: pgodithi <[email protected]>

* added jenkinsOpts

Signed-off-by: pgodithi <[email protected]>

* added jenkinsOpts

Signed-off-by: pgodithi <[email protected]>

* Added IAM required imports

Signed-off-by: pgodithi <[email protected]>

* Added agent node unit tests

Signed-off-by: pgodithi <[email protected]>

* Added agent node unit tests

Signed-off-by: pgodithi <[email protected]>

* fix agentAssumeRole

Signed-off-by: pgodithi <[email protected]>

* Ecr public

Signed-off-by: pgodithi <[email protected]>

* Added AmazonSSMManagedInstanceCore

Signed-off-by: pgodithi <[email protected]>

* added docker-compose restart policy

Signed-off-by: pgodithi <[email protected]>
  • Loading branch information
prudhvigodithi authored Jun 14, 2022
1 parent 8485ebd commit da117da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '3.8'
services:
jenkins:
image: opensearchstaging/jenkins:2.332.3-lts-jdk8
restart: on-failure
privileged: true
tty: true
user: root
Expand All @@ -17,10 +18,10 @@ services:
resources:
limits:
cpus: '4'
memory: 10000M
memory: '10g'
reservations:
cpus: '4'
memory: 10000M
memory: '10g'
logging:
driver: awslogs
options:
Expand Down

0 comments on commit da117da

Please sign in to comment.