Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 1 | version: '3.7' |
Alex Stancu | c7070e2 | 2020-12-22 15:59:20 +0200 | [diff] [blame] | 2 | services: |
| 3 | ntsim-ng: |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 4 | image: "${DOCKER_REPO}nts-ng-manager:${NTS_BUILD_VERSION}" |
Alex Stancu | c7070e2 | 2020-12-22 15:59:20 +0200 | [diff] [blame] | 5 | container_name: nts-ng-manager |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 6 | stop_grace_period: 5m |
Alex Stancu | c7070e2 | 2020-12-22 15:59:20 +0200 | [diff] [blame] | 7 | ports: |
| 8 | - "::${NTS_MANAGER_PORT}:830" |
| 9 | volumes: |
| 10 | - "/var/run/docker.sock:/var/run/docker.sock" |
| 11 | - "/usr/bin/docker:/usr/bin/docker" |
| 12 | environment: |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 13 | NTS_HOST_IP: "10.20.11.136" |
| 14 | NTS_HOST_BASE_PORT: 50000 |
| 15 | NTS_HOST_NETCONF_SSH_BASE_PORT: 0 |
| 16 | NTS_HOST_NETCONF_TLS_BASE_PORT: 1000 |
| 17 | NTS_HOST_TRANSFER_FTP_BASE_PORT: 2000 |
| 18 | NTS_HOST_TRANSFER_SFTP_BASE_PORT: 2000 |
| 19 | |
Alex Stancu | c7070e2 | 2020-12-22 15:59:20 +0200 | [diff] [blame] | 20 | DOCKER_ENGINE_VERSION: "1.40" |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 21 | IPv6_ENABLED: ${IPv6_ENABLED} |
| 22 | SSH_CONNECTIONS: ${SSH_CONNECTIONS} |
| 23 | TLS_CONNECTIONS: ${TLS_CONNECTIONS} |
| 24 | |
| 25 | SDN_CONTROLLER_PROTOCOL: ${SDN_CONTROLLER_PROTOCOL} |
| 26 | SDN_CONTROLLER_IP: ${SDN_CONTROLLER_IP} |
| 27 | SDN_CONTROLLER_PORT: ${SDN_CONTROLLER_PORT} |
Alex Stancu | f379349 | 2021-10-29 15:28:42 +0300 | [diff] [blame] | 28 | SDN_CONTROLLER_CALLHOME_IP: ${SDN_CONTROLLER_CALLHOME_IP} |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 29 | SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_PORT} |
| 30 | SDN_CONTROLLER_USERNAME: ${SDN_CONTROLLER_USERNAME} |
| 31 | SDN_CONTROLLER_PASSWORD: ${SDN_CONTROLLER_PASSWORD} |
Alex Stancu | c7070e2 | 2020-12-22 15:59:20 +0200 | [diff] [blame] | 32 | |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 33 | VES_COMMON_HEADER_VERSION: ${VES_COMMON_HEADER_VERSION} |
| 34 | VES_ENDPOINT_PROTOCOL: ${VES_ENDPOINT_PROTOCOL} |
| 35 | VES_ENDPOINT_IP: ${VES_ENDPOINT_IP} |
| 36 | VES_ENDPOINT_PORT: ${VES_ENDPOINT_PORT} |
| 37 | VES_ENDPOINT_AUTH_METHOD: ${VES_ENDPOINT_AUTH_METHOD} |
| 38 | VES_ENDPOINT_USERNAME: ${VES_ENDPOINT_USERNAME} |
| 39 | VES_ENDPOINT_PASSWORD: ${VES_ENDPOINT_PASSWORD} |
| 40 | # networks: |
| 41 | # app_net: |
Alex Stancu | c7070e2 | 2020-12-22 15:59:20 +0200 | [diff] [blame] | 42 | |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 43 | ntsim-ng-o-ru: |
| 44 | image: "${DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}" |
| 45 | cap_add: |
| 46 | - SYS_ADMIN |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 47 | - NET_ADMIN |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 48 | stop_grace_period: 5m |
| 49 | hostname: "O-RAN-O-RU-1" |
| 50 | ports: |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 51 | - ":::18300:830" |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 52 | environment: |
Alex Stancu | c7e4351 | 2021-04-27 14:40:02 +0300 | [diff] [blame] | 53 | IPv6_ENABLED: ${IPv6_ENABLED} |
| 54 | SSH_CONNECTIONS: ${SSH_CONNECTIONS} |
| 55 | TLS_CONNECTIONS: ${TLS_CONNECTIONS} |
| 56 | NTS_NF_STANDALONE_START_FEATURES: ${NTS_NF_STANDALONE_START_FEATURES} |
| 57 | NTS_NF_MOUNT_POINT_ADDRESSING_METHOD: ${NTS_NF_MOUNT_POINT_ADDRESSING_METHOD} |
| 58 | |
| 59 | NTS_HOST_IP: ${NTS_HOST_IP} |
| 60 | NTS_HOST_BASE_PORT: ${NTS_HOST_BASE_PORT} |
| 61 | NTS_HOST_NETCONF_SSH_BASE_PORT: ${NTS_HOST_NETCONF_SSH_BASE_PORT} |
| 62 | NTS_HOST_NETCONF_TLS_BASE_PORT: ${NTS_HOST_NETCONF_TLS_BASE_PORT} |
| 63 | NTS_HOST_TRANSFER_FTP_BASE_PORT: ${NTS_HOST_TRANSFER_FTP_BASE_PORT} |
| 64 | NTS_HOST_TRANSFER_SFTP_BASE_PORT: ${NTS_HOST_TRANSFER_SFTP_BASE_PORT} |
| 65 | |
| 66 | SDN_CONTROLLER_PROTOCOL: ${SDN_CONTROLLER_PROTOCOL} |
| 67 | SDN_CONTROLLER_IP: ${SDN_CONTROLLER_IP} |
| 68 | SDN_CONTROLLER_PORT: ${SDN_CONTROLLER_PORT} |
Alex Stancu | f379349 | 2021-10-29 15:28:42 +0300 | [diff] [blame] | 69 | SDN_CONTROLLER_CALLHOME_IP: ${SDN_CONTROLLER_CALLHOME_IP} |
Alex Stancu | c7e4351 | 2021-04-27 14:40:02 +0300 | [diff] [blame] | 70 | SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_PORT} |
| 71 | SDN_CONTROLLER_USERNAME: ${SDN_CONTROLLER_USERNAME} |
| 72 | SDN_CONTROLLER_PASSWORD: ${SDN_CONTROLLER_PASSWORD} |
| 73 | |
| 74 | VES_COMMON_HEADER_VERSION: ${VES_COMMON_HEADER_VERSION} |
| 75 | VES_ENDPOINT_PROTOCOL: ${VES_ENDPOINT_PROTOCOL} |
| 76 | VES_ENDPOINT_IP: ${VES_ENDPOINT_IP} |
| 77 | VES_ENDPOINT_PORT: ${VES_ENDPOINT_PORT} |
| 78 | VES_ENDPOINT_AUTH_METHOD: ${VES_ENDPOINT_AUTH_METHOD} |
| 79 | VES_ENDPOINT_USERNAME: ${VES_ENDPOINT_USERNAME} |
| 80 | VES_ENDPOINT_PASSWORD: ${VES_ENDPOINT_PASSWORD} |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 81 | |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 82 | # networks: |
| 83 | # app_net: |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 84 | |
| 85 | ntsim-ng-o-du: |
| 86 | image: "${DOCKER_REPO}nts-ng-o-ran-du:${NTS_BUILD_VERSION}" |
| 87 | cap_add: |
| 88 | - SYS_ADMIN |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 89 | - NET_ADMIN |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 90 | stop_grace_period: 5m |
| 91 | hostname: "O-RAN-O-DU-1" |
| 92 | ports: |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 93 | - ":::18301:830" |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 94 | environment: |
| 95 | IPv6_ENABLED: ${IPv6_ENABLED} |
| 96 | SSH_CONNECTIONS: ${SSH_CONNECTIONS} |
| 97 | TLS_CONNECTIONS: ${TLS_CONNECTIONS} |
Alex Stancu | c7e4351 | 2021-04-27 14:40:02 +0300 | [diff] [blame] | 98 | NTS_NF_STANDALONE_START_FEATURES: ${NTS_NF_STANDALONE_START_FEATURES} |
| 99 | NTS_NF_MOUNT_POINT_ADDRESSING_METHOD: ${NTS_NF_MOUNT_POINT_ADDRESSING_METHOD} |
| 100 | |
| 101 | NTS_HOST_IP: ${NTS_HOST_IP} |
| 102 | NTS_HOST_BASE_PORT: ${NTS_HOST_BASE_PORT} |
| 103 | NTS_HOST_NETCONF_SSH_BASE_PORT: ${NTS_HOST_NETCONF_SSH_BASE_PORT} |
| 104 | NTS_HOST_NETCONF_TLS_BASE_PORT: ${NTS_HOST_NETCONF_TLS_BASE_PORT} |
| 105 | NTS_HOST_TRANSFER_FTP_BASE_PORT: ${NTS_HOST_TRANSFER_FTP_BASE_PORT} |
| 106 | NTS_HOST_TRANSFER_SFTP_BASE_PORT: ${NTS_HOST_TRANSFER_SFTP_BASE_PORT} |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 107 | |
| 108 | SDN_CONTROLLER_PROTOCOL: ${SDN_CONTROLLER_PROTOCOL} |
| 109 | SDN_CONTROLLER_IP: ${SDN_CONTROLLER_IP} |
| 110 | SDN_CONTROLLER_PORT: ${SDN_CONTROLLER_PORT} |
Alex Stancu | f379349 | 2021-10-29 15:28:42 +0300 | [diff] [blame] | 111 | SDN_CONTROLLER_CALLHOME_IP: ${SDN_CONTROLLER_CALLHOME_IP} |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 112 | SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_PORT} |
| 113 | SDN_CONTROLLER_USERNAME: ${SDN_CONTROLLER_USERNAME} |
| 114 | SDN_CONTROLLER_PASSWORD: ${SDN_CONTROLLER_PASSWORD} |
| 115 | |
| 116 | VES_COMMON_HEADER_VERSION: ${VES_COMMON_HEADER_VERSION} |
| 117 | VES_ENDPOINT_PROTOCOL: ${VES_ENDPOINT_PROTOCOL} |
| 118 | VES_ENDPOINT_IP: ${VES_ENDPOINT_IP} |
| 119 | VES_ENDPOINT_PORT: ${VES_ENDPOINT_PORT} |
| 120 | VES_ENDPOINT_AUTH_METHOD: ${VES_ENDPOINT_AUTH_METHOD} |
| 121 | VES_ENDPOINT_USERNAME: ${VES_ENDPOINT_USERNAME} |
| 122 | VES_ENDPOINT_PASSWORD: ${VES_ENDPOINT_PASSWORD} |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 123 | # networks: |
| 124 | # app_net: |
Alex Stancu | c7070e2 | 2020-12-22 15:59:20 +0200 | [diff] [blame] | 125 | |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 126 | # networks: |
| 127 | # app_net: |
| 128 | # driver: bridge |
| 129 | # ipam: |
| 130 | # driver: default |
Alex Stancu | 3bbf9d8 | 2021-04-09 15:13:00 +0300 | [diff] [blame] | 131 | |
| 132 | # We can attach to any other docker network, like in the example below |
Alex Stancu | 6d03d77 | 2021-05-10 19:35:52 +0300 | [diff] [blame] | 133 | networks: |
| 134 | default: |
| 135 | external: |
| 136 | name: smo_integration |