diff options
author | Dan Timoney <dtimoney@att.com> | 2021-09-24 08:53:11 -0400 |
---|---|---|
committer | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2021-10-12 11:46:21 +0000 |
commit | 53a21834ccd5925b806c245650ee3aa9a94f9fbf (patch) | |
tree | 372c1777b18c7674bafc77ed395cdfa68aa7f2c7 /installation/ansible-server/src | |
parent | 8e3280a9c2c7cd372cfb268e9df2f7332d405d9e (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.yaml | 52 |
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" + |