blob: ecec6b6da71ad24dcb67cbb12b7c5c1618e117d0 [file] [log] [blame]
Alex Stancu3bbf9d82021-04-09 15:13:00 +03001version: '3.7'
Alex Stancuc7070e22020-12-22 15:59:20 +02002services:
3 ntsim-ng:
Alex Stancu6d03d772021-05-10 19:35:52 +03004 image: "${DOCKER_REPO}nts-ng-manager:${NTS_BUILD_VERSION}"
Alex Stancuc7070e22020-12-22 15:59:20 +02005 container_name: nts-ng-manager
Alex Stancu3bbf9d82021-04-09 15:13:00 +03006 stop_grace_period: 5m
Alex Stancuc7070e22020-12-22 15:59:20 +02007 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 Stancu3bbf9d82021-04-09 15:13:00 +030013 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 Stancuc7070e22020-12-22 15:59:20 +020020 DOCKER_ENGINE_VERSION: "1.40"
Alex Stancu3bbf9d82021-04-09 15:13:00 +030021 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 Stancuf3793492021-10-29 15:28:42 +030028 SDN_CONTROLLER_CALLHOME_IP: ${SDN_CONTROLLER_CALLHOME_IP}
Alex Stancu3bbf9d82021-04-09 15:13:00 +030029 SDN_CONTROLLER_CALLHOME_PORT: ${SDN_CONTROLLER_CALLHOME_PORT}
30 SDN_CONTROLLER_USERNAME: ${SDN_CONTROLLER_USERNAME}
31 SDN_CONTROLLER_PASSWORD: ${SDN_CONTROLLER_PASSWORD}
Alex Stancuc7070e22020-12-22 15:59:20 +020032
Alex Stancu3bbf9d82021-04-09 15:13:00 +030033 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 Stancuc7070e22020-12-22 15:59:20 +020042
Alex Stancu3bbf9d82021-04-09 15:13:00 +030043 ntsim-ng-o-ru:
44 image: "${DOCKER_REPO}nts-ng-o-ran-ru-fh:${NTS_BUILD_VERSION}"
45 cap_add:
46 - SYS_ADMIN
Alex Stancu6d03d772021-05-10 19:35:52 +030047 - NET_ADMIN
Alex Stancu3bbf9d82021-04-09 15:13:00 +030048 stop_grace_period: 5m
49 hostname: "O-RAN-O-RU-1"
50 ports:
Alex Stancu6d03d772021-05-10 19:35:52 +030051 - ":::18300:830"
Alex Stancu3bbf9d82021-04-09 15:13:00 +030052 environment:
Alex Stancuc7e43512021-04-27 14:40:02 +030053 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 Stancuf3793492021-10-29 15:28:42 +030069 SDN_CONTROLLER_CALLHOME_IP: ${SDN_CONTROLLER_CALLHOME_IP}
Alex Stancuc7e43512021-04-27 14:40:02 +030070 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 Stancu3bbf9d82021-04-09 15:13:00 +030081
Alex Stancu6d03d772021-05-10 19:35:52 +030082 # networks:
83 # app_net:
Alex Stancu3bbf9d82021-04-09 15:13:00 +030084
85 ntsim-ng-o-du:
86 image: "${DOCKER_REPO}nts-ng-o-ran-du:${NTS_BUILD_VERSION}"
87 cap_add:
88 - SYS_ADMIN
Alex Stancu6d03d772021-05-10 19:35:52 +030089 - NET_ADMIN
Alex Stancu3bbf9d82021-04-09 15:13:00 +030090 stop_grace_period: 5m
91 hostname: "O-RAN-O-DU-1"
92 ports:
Alex Stancu6d03d772021-05-10 19:35:52 +030093 - ":::18301:830"
Alex Stancu3bbf9d82021-04-09 15:13:00 +030094 environment:
95 IPv6_ENABLED: ${IPv6_ENABLED}
96 SSH_CONNECTIONS: ${SSH_CONNECTIONS}
97 TLS_CONNECTIONS: ${TLS_CONNECTIONS}
Alex Stancuc7e43512021-04-27 14:40:02 +030098 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 Stancu3bbf9d82021-04-09 15:13:00 +0300107
108 SDN_CONTROLLER_PROTOCOL: ${SDN_CONTROLLER_PROTOCOL}
109 SDN_CONTROLLER_IP: ${SDN_CONTROLLER_IP}
110 SDN_CONTROLLER_PORT: ${SDN_CONTROLLER_PORT}
Alex Stancuf3793492021-10-29 15:28:42 +0300111 SDN_CONTROLLER_CALLHOME_IP: ${SDN_CONTROLLER_CALLHOME_IP}
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300112 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 Stancu6d03d772021-05-10 19:35:52 +0300123 # networks:
124 # app_net:
Alex Stancuc7070e22020-12-22 15:59:20 +0200125
Alex Stancu6d03d772021-05-10 19:35:52 +0300126# networks:
127# app_net:
128# driver: bridge
129# ipam:
130# driver: default
Alex Stancu3bbf9d82021-04-09 15:13:00 +0300131
132# We can attach to any other docker network, like in the example below
Alex Stancu6d03d772021-05-10 19:35:52 +0300133networks:
134 default:
135 external:
136 name: smo_integration