aboutsummaryrefslogtreecommitdiffstats
path: root/installation/ansible-server/src
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2021-09-24 08:53:11 -0400
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2021-10-12 11:46:21 +0000
commit53a21834ccd5925b806c245650ee3aa9a94f9fbf (patch)
tree372c1777b18c7674bafc77ed395cdfa68aa7f2c7 /installation/ansible-server/src
parent8e3280a9c2c7cd372cfb268e9df2f7332d405d9e (diff)
Roll versions for Jakarta release
Roll versions in master branch for use in Jakarta release Issue-ID: SDNC-1611 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ie3e9bd9728359278ec631047fcdc48ddcc5aaea7 Former-commit-id: 54d26a0fdd15cb78879043e4dd79f7626feb99a8
Diffstat (limited to 'installation/ansible-server/src')
-rw-r--r--installation/ansible-server/src/main/dc/docker-compose.yaml52
1 files changed, 52 insertions, 0 deletions
diff --git a/installation/ansible-server/src/main/dc/docker-compose.yaml b/installation/ansible-server/src/main/dc/docker-compose.yaml
new file mode 100644
index 00000000..371aabde
--- /dev/null
+++ b/installation/ansible-server/src/main/dc/docker-compose.yaml
@@ -0,0 +1,52 @@
+version: '2.1'
+
+networks:
+ default:
+ driver: bridge
+ driver_opts:
+ com.docker.network.driver.mtu: ${MTU}
+
+
+services:
+
+ db:
+ image: mariadb:10.5
+ container_name: sdnc_db_container
+ ports:
+ - "23306:3306"
+ environment:
+ - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
+ - MYSQL_ROOT_HOST=%
+ - MYSQL_USER=${MYSQL_USER}
+ - MYSQL_PASSWORD=${MYSQL_PASSWORD}
+ - MYSQL_DATABASE=${MYSQL_DATABASE}
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"
+
+ ansible:
+ image: onap/sdnc-ansible-server-image:latest
+ depends_on :
+ - db
+ container_name: sdnc_ansible_container
+ entrypoint: ["/opt/ansible-server/startAnsibleServer.sh"]
+ ports:
+ - "8000"
+ links:
+ - db:dbhost
+ - db:sdnctldb01
+ - db:sdnctldb02
+ environment:
+ - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
+ - MYSQL_USER=${MYSQL_USER}
+ - MYSQL_PASSWORD=${MYSQL_PASSWORD}
+ - MYSQL_DATABASE=${MYSQL_DATABASE}
+ - ANSIBLE_TRUSTSTORE_PASSWORD=${ANSIBLE_TRUSTSTORE_PASSWORD}
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "30m"
+ max-file: "5"
+